Jorim Jaggi | a631029 | 2014-04-16 14:11:52 +0200 | [diff] [blame] | 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" |
Jorim Jaggi | 1cf6e10 | 2015-01-20 16:45:05 +0100 | [diff] [blame] | 24 | android:outlineProvider="none" |
| 25 | android:elevation="5dp" > <!-- Put it above the status bar header --> |
Jorim Jaggi | b6cdcbc | 2014-07-25 21:58:29 +0200 | [diff] [blame] | 26 | |
Bartosz Fabianowski | 5f04500 | 2016-12-01 10:36:18 +0100 | [diff] [blame] | 27 | <LinearLayout |
| 28 | android:id="@+id/keyguard_indication_area" |
| 29 | android:forceHasOverlappingRendering="false" |
Adrian Roos | 0b923a2 | 2015-07-22 12:17:43 -0700 | [diff] [blame] | 30 | android:layout_width="match_parent" |
Jorim Jaggi | b6cdcbc | 2014-07-25 21:58:29 +0200 | [diff] [blame] | 31 | android:layout_height="wrap_content" |
Jorim Jaggi | e210cc8 | 2014-08-12 23:44:59 +0200 | [diff] [blame] | 32 | android:layout_marginBottom="@dimen/keyguard_indication_margin_bottom" |
Jorim Jaggi | b6cdcbc | 2014-07-25 21:58:29 +0200 | [diff] [blame] | 33 | android:layout_gravity="bottom|center_horizontal" |
Bartosz Fabianowski | 5f04500 | 2016-12-01 10:36:18 +0100 | [diff] [blame] | 34 | android:orientation="vertical"> |
| 35 | |
| 36 | <com.android.systemui.statusbar.phone.KeyguardIndicationTextView |
| 37 | android:id="@+id/keyguard_indication_enterprise_disclosure" |
| 38 | android:layout_width="match_parent" |
| 39 | android:layout_height="wrap_content" |
Lucas Dupin | c9e5d76 | 2019-01-28 09:34:30 -0800 | [diff] [blame^] | 40 | android:gravity="center" |
| 41 | android:textAppearance="@style/TextAppearance.Keyguard.BottomArea" |
Bartosz Fabianowski | 5f04500 | 2016-12-01 10:36:18 +0100 | [diff] [blame] | 42 | android:visibility="gone" /> |
| 43 | |
| 44 | <com.android.systemui.statusbar.phone.KeyguardIndicationTextView |
| 45 | android:id="@+id/keyguard_indication_text" |
| 46 | android:layout_width="match_parent" |
| 47 | android:layout_height="wrap_content" |
Lucas Dupin | c9e5d76 | 2019-01-28 09:34:30 -0800 | [diff] [blame^] | 48 | android:gravity="center" |
| 49 | android:textAppearance="@style/TextAppearance.Keyguard.BottomArea" |
Bartosz Fabianowski | 5f04500 | 2016-12-01 10:36:18 +0100 | [diff] [blame] | 50 | android:accessibilityLiveRegion="polite" /> |
| 51 | |
| 52 | </LinearLayout> |
Jorim Jaggi | b6cdcbc | 2014-07-25 21:58:29 +0200 | [diff] [blame] | 53 | |
| 54 | <FrameLayout |
| 55 | android:id="@+id/preview_container" |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="match_parent"> |
| 58 | </FrameLayout> |
| 59 | |
Selim Cinek | baa2327 | 2014-07-08 18:01:07 +0200 | [diff] [blame] | 60 | <com.android.systemui.statusbar.KeyguardAffordanceView |
Jorim Jaggi | a631029 | 2014-04-16 14:11:52 +0200 | [diff] [blame] | 61 | android:id="@+id/camera_button" |
Jorim Jaggi | 9cf1f37 | 2014-08-05 19:17:42 +0200 | [diff] [blame] | 62 | android:layout_height="@dimen/keyguard_affordance_height" |
| 63 | android:layout_width="@dimen/keyguard_affordance_width" |
Jorim Jaggi | 97b63c4 | 2014-05-02 23:03:34 +0200 | [diff] [blame] | 64 | android:layout_gravity="bottom|end" |
Jorim Jaggi | 97b63c4 | 2014-05-02 23:03:34 +0200 | [diff] [blame] | 65 | android:src="@drawable/ic_camera_alt_24dp" |
Jorim Jaggi | a631029 | 2014-04-16 14:11:52 +0200 | [diff] [blame] | 66 | android:scaleType="center" |
Lucas Dupin | 00a9594 | 2017-05-13 16:08:06 -0700 | [diff] [blame] | 67 | android:contentDescription="@string/accessibility_camera_button" |
Lucas Dupin | a360e1e7 | 2017-07-17 17:25:20 -0700 | [diff] [blame] | 68 | android:tint="?attr/wallpaperTextColor" /> |
Jorim Jaggi | 97b63c4 | 2014-05-02 23:03:34 +0200 | [diff] [blame] | 69 | |
Selim Cinek | baa2327 | 2014-07-08 18:01:07 +0200 | [diff] [blame] | 70 | <com.android.systemui.statusbar.KeyguardAffordanceView |
Selim Cinek | e70d653 | 2015-04-24 16:46:13 -0700 | [diff] [blame] | 71 | android:id="@+id/left_button" |
Jorim Jaggi | 9cf1f37 | 2014-08-05 19:17:42 +0200 | [diff] [blame] | 72 | android:layout_height="@dimen/keyguard_affordance_height" |
| 73 | android:layout_width="@dimen/keyguard_affordance_width" |
Jorim Jaggi | 97b63c4 | 2014-05-02 23:03:34 +0200 | [diff] [blame] | 74 | android:layout_gravity="bottom|start" |
Amin Shaikh | f3a9427 | 2019-01-29 18:22:14 -0500 | [diff] [blame] | 75 | android:src="@*android:drawable/ic_phone" |
Jorim Jaggi | 97b63c4 | 2014-05-02 23:03:34 +0200 | [diff] [blame] | 76 | android:scaleType="center" |
Lucas Dupin | 00a9594 | 2017-05-13 16:08:06 -0700 | [diff] [blame] | 77 | android:contentDescription="@string/accessibility_phone_button" |
Lucas Dupin | a360e1e7 | 2017-07-17 17:25:20 -0700 | [diff] [blame] | 78 | android:tint="?attr/wallpaperTextColor" /> |
Jorim Jaggi | e70d31f | 2014-04-24 22:08:30 +0200 | [diff] [blame] | 79 | |
Jorim Jaggi | 27267d6 | 2015-04-28 13:27:12 -0700 | [diff] [blame] | 80 | <com.android.systemui.statusbar.phone.LockIcon |
Adrian Roos | 2fe592d | 2014-05-17 03:11:59 +0200 | [diff] [blame] | 81 | android:id="@+id/lock_icon" |
Lucas Dupin | c9e5d76 | 2019-01-28 09:34:30 -0800 | [diff] [blame^] | 82 | android:layout_width="@dimen/keyguard_lock_width" |
| 83 | android:layout_height="@dimen/keyguard_lock_height" |
Jorim Jaggi | 47a7b07 | 2014-05-07 22:10:17 +0200 | [diff] [blame] | 84 | android:layout_gravity="bottom|center_horizontal" |
Lucas Dupin | c9e5d76 | 2019-01-28 09:34:30 -0800 | [diff] [blame^] | 85 | android:layout_marginBottom="@dimen/keyguard_lock_padding" |
| 86 | android:src="@*android:drawable/ic_lock_24dp" |
Selim Cinek | 947c77c | 2017-03-23 14:20:32 -0700 | [diff] [blame] | 87 | android:contentDescription="@string/accessibility_unlock_button" |
Lucas Dupin | c9e5d76 | 2019-01-28 09:34:30 -0800 | [diff] [blame^] | 88 | android:scaleType="fitCenter" /> |
Jorim Jaggi | 47a7b07 | 2014-05-07 22:10:17 +0200 | [diff] [blame] | 89 | |
Philip Quinn | b86efa4 | 2017-07-08 12:59:24 -0700 | [diff] [blame] | 90 | <FrameLayout |
| 91 | android:id="@+id/overlay_container" |
| 92 | android:layout_width="match_parent" |
| 93 | android:layout_height="match_parent"> |
| 94 | |
| 95 | <include layout="@layout/keyguard_bottom_area_overlay" /> |
| 96 | |
| 97 | </FrameLayout> |
Philip Quinn | f984768 | 2017-05-18 23:41:32 -0700 | [diff] [blame] | 98 | |
Adrian Roos | 41b170d | 2014-05-26 20:54:12 +0000 | [diff] [blame] | 99 | </com.android.systemui.statusbar.phone.KeyguardBottomAreaView> |