keyguard_host_view.xml revision 07cb030c4ef8a822cb249a3ca2cc429c6bb0497e
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3** 4** Copyright 2012, The Android Open Source Project 5** 6** Licensed under the Apache License, Version 2.0 (the "License") 7** you may not use this file except in compliance with the License. 8** You may obtain a copy of the License at 9** 10** http://www.apache.org/licenses/LICENSE-2.0 11** 12** Unless required by applicable law or agreed to in writing, software 13** distributed under the License is distributed on an "AS IS" BASIS, 14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15** See the License for the specific language governing permissions and 16** limitations under the License. 17*/ 18--> 19 20<!-- This is the host view that generally contains two sub views: the widget view 21 and the security view. --> 22<com.android.internal.policy.impl.keyguard.KeyguardHostView 23 xmlns:android="http://schemas.android.com/apk/res/android" 24 android:id="@+id/keyguard_host_view" 25 android:orientation="vertical" 26 android:layout_width="match_parent" 27 android:layout_height="match_parent" 28 android:gravity="center_horizontal" 29 android:clipChildren="false"> 30 31 <com.android.internal.policy.impl.keyguard.KeyguardWidgetPager 32 android:id="@+id/app_widget_container" 33 android:layout_width="match_parent" 34 android:layout_height="0dip" 35 android:layout_weight="1" 36 android:visibility="gone"> 37 38 <!-- TODO: Remove this once supported as a widget --> 39 <include layout="@layout/keyguard_status_view"/> 40 41 </com.android.internal.policy.impl.keyguard.KeyguardWidgetPager> 42 43 <ViewFlipper 44 android:id="@+id/view_flipper" 45 android:layout_width="@dimen/kg_security_view_width" 46 android:layout_height="0dip" 47 android:layout_weight="1" 48 android:layout_gravity="center"> 49 50 <include layout="@layout/keyguard_selector_view"/> 51 <include layout="@layout/keyguard_account_view"/> 52 <include layout="@layout/keyguard_pattern_view"/> 53 <include layout="@layout/keyguard_password_view"/> 54 <include layout="@layout/keyguard_sim_pin_view"/> 55 <include layout="@layout/keyguard_sim_puk_view"/> 56 <include layout="@layout/keyguard_face_unlock_view"/> 57 58 </ViewFlipper> 59 60</com.android.internal.policy.impl.keyguard.KeyguardHostView> 61 62