blob: 04de9784812f328de1b518bfb0fd651427825666 [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
Austin Wang25fc3fd2019-11-27 13:00:34 +080027 <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="vertical">
34
35 <com.android.systemui.statusbar.phone.KeyguardIndicationTextView
36 android:id="@+id/keyguard_indication_text"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:gravity="center"
40 android:paddingStart="@dimen/keyguard_indication_text_padding"
41 android:paddingEnd="@dimen/keyguard_indication_text_padding"
42 android:textAppearance="@style/TextAppearance.Keyguard.BottomArea"
43 android:accessibilityLiveRegion="polite"/>
44
Jeff DeCewa87cddb2020-06-12 12:13:52 -040045 <com.android.systemui.statusbar.phone.KeyguardIndicationTextView
46 android:id="@+id/keyguard_indication_enterprise_disclosure"
47 android:layout_width="match_parent"
48 android:layout_height="wrap_content"
49 android:gravity="center"
50 android:paddingStart="@dimen/keyguard_indication_text_padding"
51 android:paddingEnd="@dimen/keyguard_indication_text_padding"
52 android:textAppearance="@style/TextAppearance.Keyguard.BottomArea"
53 android:alpha=".54"
54 android:visibility="gone"/>
55
Austin Wang25fc3fd2019-11-27 13:00:34 +080056 </LinearLayout>
Jorim Jaggib6cdcbc2014-07-25 21:58:29 +020057
58 <FrameLayout
59 android:id="@+id/preview_container"
60 android:layout_width="match_parent"
61 android:layout_height="match_parent">
62 </FrameLayout>
63
Selim Cinekbaa23272014-07-08 18:01:07 +020064 <com.android.systemui.statusbar.KeyguardAffordanceView
Jorim Jaggia6310292014-04-16 14:11:52 +020065 android:id="@+id/camera_button"
Jorim Jaggi9cf1f372014-08-05 19:17:42 +020066 android:layout_height="@dimen/keyguard_affordance_height"
67 android:layout_width="@dimen/keyguard_affordance_width"
Jorim Jaggi97b63c42014-05-02 23:03:34 +020068 android:layout_gravity="bottom|end"
Jorim Jaggi97b63c42014-05-02 23:03:34 +020069 android:src="@drawable/ic_camera_alt_24dp"
Jorim Jaggia6310292014-04-16 14:11:52 +020070 android:scaleType="center"
Lucas Dupin00a95942017-05-13 16:08:06 -070071 android:contentDescription="@string/accessibility_camera_button"
Lucas Dupina360e1e72017-07-17 17:25:20 -070072 android:tint="?attr/wallpaperTextColor" />
Jorim Jaggi97b63c42014-05-02 23:03:34 +020073
Selim Cinekbaa23272014-07-08 18:01:07 +020074 <com.android.systemui.statusbar.KeyguardAffordanceView
Selim Cineke70d6532015-04-24 16:46:13 -070075 android:id="@+id/left_button"
Jorim Jaggi9cf1f372014-08-05 19:17:42 +020076 android:layout_height="@dimen/keyguard_affordance_height"
77 android:layout_width="@dimen/keyguard_affordance_width"
Jorim Jaggi97b63c42014-05-02 23:03:34 +020078 android:layout_gravity="bottom|start"
Amin Shaikhf3a94272019-01-29 18:22:14 -050079 android:src="@*android:drawable/ic_phone"
Jorim Jaggi97b63c42014-05-02 23:03:34 +020080 android:scaleType="center"
Lucas Dupin00a95942017-05-13 16:08:06 -070081 android:contentDescription="@string/accessibility_phone_button"
Lucas Dupina360e1e72017-07-17 17:25:20 -070082 android:tint="?attr/wallpaperTextColor" />
Jorim Jaggie70d31f2014-04-24 22:08:30 +020083
Lucas Dupin93f714d2019-03-26 16:49:24 -070084 <FrameLayout
Philip Quinnb86efa42017-07-08 12:59:24 -070085 android:id="@+id/overlay_container"
86 android:layout_width="match_parent"
87 android:layout_height="match_parent">
88
89 <include layout="@layout/keyguard_bottom_area_overlay" />
90
91 </FrameLayout>
Philip Quinnf9847682017-05-18 23:41:32 -070092
Adrian Roos41b170d2014-05-26 20:54:12 +000093</com.android.systemui.statusbar.phone.KeyguardBottomAreaView>