1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2014 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17 18<com.android.systemui.statusbar.phone.KeyguardBottomAreaView 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" 21 android:id="@+id/keyguard_bottom_area" 22 android:layout_height="match_parent" 23 android:layout_width="match_parent" 24 android:outlineProvider="none" 25 android:elevation="5dp" > <!-- Put it above the status bar header --> 26 27 <LinearLayout 28 android:id="@+id/keyguard_indication_area" 29 android:layout_width="match_parent" 30 android:layout_height="wrap_content" 31 android:layout_marginBottom="@dimen/keyguard_indication_margin_bottom" 32 android:layout_gravity="bottom|center_horizontal" 33 android:orientation="horizontal"> 34 35 <include layout="@layout/left_docked_overlay" /> 36 37 <LinearLayout 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" 40 android:layout_weight="1" 41 android:layout_gravity="center_vertical|center_horizontal" 42 android:orientation="vertical"> 43 44 <com.android.systemui.statusbar.phone.KeyguardIndicationTextView 45 android:id="@+id/keyguard_indication_enterprise_disclosure" 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:gravity="center" 49 android:textAppearance="@style/TextAppearance.Keyguard.BottomArea" 50 android:visibility="gone" /> 51 52 <com.android.systemui.statusbar.phone.KeyguardIndicationTextView 53 android:id="@+id/keyguard_indication_text" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:gravity="center" 57 android:textAppearance="@style/TextAppearance.Keyguard.BottomArea" 58 android:accessibilityLiveRegion="polite" /> 59 60 </LinearLayout> 61 62 <include layout="@layout/right_docked_overlay" /> 63 64 </LinearLayout> 65 66 <FrameLayout 67 android:id="@+id/preview_container" 68 android:layout_width="match_parent" 69 android:layout_height="match_parent"> 70 </FrameLayout> 71 72 <com.android.systemui.statusbar.KeyguardAffordanceView 73 android:id="@+id/camera_button" 74 android:layout_height="@dimen/keyguard_affordance_height" 75 android:layout_width="@dimen/keyguard_affordance_width" 76 android:layout_gravity="bottom|end" 77 android:src="@drawable/ic_camera_alt_24dp" 78 android:scaleType="center" 79 android:contentDescription="@string/accessibility_camera_button" 80 android:tint="?attr/wallpaperTextColor" /> 81 82 <com.android.systemui.statusbar.KeyguardAffordanceView 83 android:id="@+id/left_button" 84 android:layout_height="@dimen/keyguard_affordance_height" 85 android:layout_width="@dimen/keyguard_affordance_width" 86 android:layout_gravity="bottom|start" 87 android:src="@*android:drawable/ic_phone" 88 android:scaleType="center" 89 android:contentDescription="@string/accessibility_phone_button" 90 android:tint="?attr/wallpaperTextColor" /> 91 92 <FrameLayout 93 android:id="@+id/overlay_container" 94 android:layout_width="match_parent" 95 android:layout_height="match_parent"> 96 97 <include layout="@layout/keyguard_bottom_area_overlay" /> 98 99 </FrameLayout> 100 101</com.android.systemui.statusbar.phone.KeyguardBottomAreaView> 102