blob: 5d0367e9f4dc087615056e8712474bb46c21b64f [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
27 <com.android.systemui.statusbar.phone.KeyguardIndicationTextView
28 android:id="@+id/keyguard_indication_text"
29 android:layout_width="wrap_content"
30 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"
Jorim Jaggicf579e92014-12-08 19:56:20 +010033 android:gravity="center_horizontal"
Jorim Jaggib6cdcbc2014-07-25 21:58:29 +020034 android:textStyle="italic"
35 android:textColor="#ffffff"
Jorim Jaggib2e104f2014-08-15 18:12:36 +020036 android:textAppearance="?android:attr/textAppearanceSmall" />
Jorim Jaggib6cdcbc2014-07-25 21:58:29 +020037
38 <FrameLayout
39 android:id="@+id/preview_container"
40 android:layout_width="match_parent"
41 android:layout_height="match_parent">
42 </FrameLayout>
43
Selim Cinekbaa23272014-07-08 18:01:07 +020044 <com.android.systemui.statusbar.KeyguardAffordanceView
Jorim Jaggia6310292014-04-16 14:11:52 +020045 android:id="@+id/camera_button"
Jorim Jaggi9cf1f372014-08-05 19:17:42 +020046 android:layout_height="@dimen/keyguard_affordance_height"
47 android:layout_width="@dimen/keyguard_affordance_width"
Jorim Jaggi97b63c42014-05-02 23:03:34 +020048 android:layout_gravity="bottom|end"
49 android:tint="#ffffffff"
50 android:src="@drawable/ic_camera_alt_24dp"
Jorim Jaggia6310292014-04-16 14:11:52 +020051 android:scaleType="center"
Selim Cinek4c6969a2014-05-26 19:22:17 +020052 android:contentDescription="@string/accessibility_camera_button" />
Jorim Jaggi97b63c42014-05-02 23:03:34 +020053
Selim Cinekbaa23272014-07-08 18:01:07 +020054 <com.android.systemui.statusbar.KeyguardAffordanceView
Selim Cineke70d6532015-04-24 16:46:13 -070055 android:id="@+id/left_button"
Jorim Jaggi9cf1f372014-08-05 19:17:42 +020056 android:layout_height="@dimen/keyguard_affordance_height"
57 android:layout_width="@dimen/keyguard_affordance_width"
Jorim Jaggi97b63c42014-05-02 23:03:34 +020058 android:layout_gravity="bottom|start"
59 android:tint="#ffffffff"
60 android:src="@drawable/ic_phone_24dp"
61 android:scaleType="center"
Selim Cinek4c6969a2014-05-26 19:22:17 +020062 android:contentDescription="@string/accessibility_phone_button" />
Jorim Jaggie70d31f2014-04-24 22:08:30 +020063
Jorim Jaggi27267d62015-04-28 13:27:12 -070064 <com.android.systemui.statusbar.phone.LockIcon
Adrian Roos2fe592d2014-05-17 03:11:59 +020065 android:id="@+id/lock_icon"
Jorim Jaggi9cf1f372014-08-05 19:17:42 +020066 android:layout_width="@dimen/keyguard_affordance_width"
67 android:layout_height="@dimen/keyguard_affordance_height"
Jorim Jaggi47a7b072014-05-07 22:10:17 +020068 android:layout_gravity="bottom|center_horizontal"
69 android:src="@drawable/ic_lock_24dp"
70 android:scaleType="center"
Jorim Jaggib5428e12014-08-29 13:50:11 +000071 android:contentDescription="@string/accessibility_unlock_button" />
Jorim Jaggi47a7b072014-05-07 22:10:17 +020072
Adrian Roos41b170d2014-05-26 20:54:12 +000073</com.android.systemui.statusbar.phone.KeyguardBottomAreaView>