blob: 21c2c6b879f88d52fe69099a31cae3e3797c793d [file] [log] [blame]
Jorim Jaggia6310292014-04-16 14:11:52 +02001<?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"
Jorim Jaggi1cf6e102015-01-20 16:45:05 +010024 android:outlineProvider="none"
25 android:elevation="5dp" > <!-- Put it above the status bar header -->
Jorim Jaggib6cdcbc2014-07-25 21:58:29 +020026
Bartosz Fabianowski5f045002016-12-01 10:36:18 +010027 <LinearLayout
28 android:id="@+id/keyguard_indication_area"
Adrian Roos0b923a22015-07-22 12:17:43 -070029 android:layout_width="match_parent"
Jorim Jaggib6cdcbc2014-07-25 21:58:29 +020030 android:layout_height="wrap_content"
Jorim Jaggie210cc82014-08-12 23:44:59 +020031 android:layout_marginBottom="@dimen/keyguard_indication_margin_bottom"
Jorim Jaggib6cdcbc2014-07-25 21:58:29 +020032 android:layout_gravity="bottom|center_horizontal"
TYM Tsai985c3f02019-05-03 14:57:27 +080033 android:orientation="horizontal">
Bartosz Fabianowski5f045002016-12-01 10:36:18 +010034
TYM Tsai985c3f02019-05-03 14:57:27 +080035 <include layout="@layout/left_docked_overlay" />
Bartosz Fabianowski5f045002016-12-01 10:36:18 +010036
TYM Tsai985c3f02019-05-03 14:57:27 +080037 <LinearLayout
38 android:layout_width="wrap_content"
Bartosz Fabianowski5f045002016-12-01 10:36:18 +010039 android:layout_height="wrap_content"
TYM Tsai985c3f02019-05-03 14:57:27 +080040 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"
Robert Snoebergerf6e32f072019-07-17 17:07:18 -040049 android:paddingStart="@dimen/keyguard_indication_text_padding"
50 android:paddingEnd="@dimen/keyguard_indication_text_padding"
TYM Tsai985c3f02019-05-03 14:57:27 +080051 android:textAppearance="@style/TextAppearance.Keyguard.BottomArea"
52 android:visibility="gone" />
53
54 <com.android.systemui.statusbar.phone.KeyguardIndicationTextView
55 android:id="@+id/keyguard_indication_text"
56 android:layout_width="match_parent"
57 android:layout_height="wrap_content"
58 android:gravity="center"
Robert Snoebergerf6e32f072019-07-17 17:07:18 -040059 android:paddingStart="@dimen/keyguard_indication_text_padding"
60 android:paddingEnd="@dimen/keyguard_indication_text_padding"
TYM Tsai985c3f02019-05-03 14:57:27 +080061 android:textAppearance="@style/TextAppearance.Keyguard.BottomArea"
62 android:accessibilityLiveRegion="polite" />
63
64 </LinearLayout>
65
66 <include layout="@layout/right_docked_overlay" />
Bartosz Fabianowski5f045002016-12-01 10:36:18 +010067
68 </LinearLayout>
Jorim Jaggib6cdcbc2014-07-25 21:58:29 +020069
70 <FrameLayout
71 android:id="@+id/preview_container"
72 android:layout_width="match_parent"
73 android:layout_height="match_parent">
74 </FrameLayout>
75
Selim Cinekbaa23272014-07-08 18:01:07 +020076 <com.android.systemui.statusbar.KeyguardAffordanceView
Jorim Jaggia6310292014-04-16 14:11:52 +020077 android:id="@+id/camera_button"
Jorim Jaggi9cf1f372014-08-05 19:17:42 +020078 android:layout_height="@dimen/keyguard_affordance_height"
79 android:layout_width="@dimen/keyguard_affordance_width"
Jorim Jaggi97b63c42014-05-02 23:03:34 +020080 android:layout_gravity="bottom|end"
Jorim Jaggi97b63c42014-05-02 23:03:34 +020081 android:src="@drawable/ic_camera_alt_24dp"
Jorim Jaggia6310292014-04-16 14:11:52 +020082 android:scaleType="center"
Lucas Dupin00a95942017-05-13 16:08:06 -070083 android:contentDescription="@string/accessibility_camera_button"
Lucas Dupina360e1e72017-07-17 17:25:20 -070084 android:tint="?attr/wallpaperTextColor" />
Jorim Jaggi97b63c42014-05-02 23:03:34 +020085
Selim Cinekbaa23272014-07-08 18:01:07 +020086 <com.android.systemui.statusbar.KeyguardAffordanceView
Selim Cineke70d6532015-04-24 16:46:13 -070087 android:id="@+id/left_button"
Jorim Jaggi9cf1f372014-08-05 19:17:42 +020088 android:layout_height="@dimen/keyguard_affordance_height"
89 android:layout_width="@dimen/keyguard_affordance_width"
Jorim Jaggi97b63c42014-05-02 23:03:34 +020090 android:layout_gravity="bottom|start"
Amin Shaikhf3a94272019-01-29 18:22:14 -050091 android:src="@*android:drawable/ic_phone"
Jorim Jaggi97b63c42014-05-02 23:03:34 +020092 android:scaleType="center"
Lucas Dupin00a95942017-05-13 16:08:06 -070093 android:contentDescription="@string/accessibility_phone_button"
Lucas Dupina360e1e72017-07-17 17:25:20 -070094 android:tint="?attr/wallpaperTextColor" />
Jorim Jaggie70d31f2014-04-24 22:08:30 +020095
Lucas Dupin93f714d2019-03-26 16:49:24 -070096 <FrameLayout
Philip Quinnb86efa42017-07-08 12:59:24 -070097 android:id="@+id/overlay_container"
98 android:layout_width="match_parent"
99 android:layout_height="match_parent">
100
101 <include layout="@layout/keyguard_bottom_area_overlay" />
102
103 </FrameLayout>
Philip Quinnf9847682017-05-18 23:41:32 -0700104
Adrian Roos41b170d2014-05-26 20:54:12 +0000105</com.android.systemui.statusbar.phone.KeyguardBottomAreaView>