blob: 0c85dab082ea49c5360c17ada19d1d1deba2934f [file] [log] [blame]
Jim Millerdcb3d842012-08-23 19:18:12 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3**
4** Copyright 2012, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License")
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10** http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19
Jim Miller5830cb22012-09-05 18:54:18 -070020<!-- This is the screen that allows the user to unlock by showing their face. -->
Jim Miller5ecd8112013-01-09 18:50:26 -080021<com.android.keyguard.KeyguardFaceUnlockView
Jim Millerdcb3d842012-08-23 19:18:12 -070022 xmlns:android="http://schemas.android.com/apk/res/android"
Jorim Jaggi380ecb82014-03-14 17:25:20 +010023 xmlns:androidprv="http://schemas.android.com/apk/res-auto"
Jim Millerdcb3d842012-08-23 19:18:12 -070024 android:id="@+id/keyguard_face_unlock_view"
Jim Miller000464a2012-09-04 16:45:06 -070025 android:orientation="vertical"
Jim Millerdcb3d842012-08-23 19:18:12 -070026 android:layout_width="match_parent"
Svetoslav Ganovc4842c12012-10-31 14:33:32 -070027 android:layout_height="match_parent"
Jim Miller5ecd8112013-01-09 18:50:26 -080028 androidprv:layout_maxWidth="@dimen/keyguard_security_width"
29 androidprv:layout_maxHeight="@dimen/keyguard_security_height"
Svetoslav Ganovc4842c12012-10-31 14:33:32 -070030 android:contentDescription="@string/keyguard_accessibility_face_unlock">
Jim Millerdcb3d842012-08-23 19:18:12 -070031
Jim Miller0b728242012-10-28 19:42:30 -070032 <include layout="@layout/keyguard_message_area"
33 android:layout_width="match_parent"
34 android:layout_height="wrap_content"
35 />
Jim Miller000464a2012-09-04 16:45:06 -070036
Chris Wrenc0ae9e62012-11-05 13:16:31 -050037 <FrameLayout
38 android:id="@+id/keyguard_bouncer_frame"
Chris Wrenc0ae9e62012-11-05 13:16:31 -050039 android:layout_width="match_parent"
40 android:layout_height="0dp"
41 android:layout_weight="1"
42 >
43 <com.android.internal.widget.FaceUnlockView
44 android:id="@+id/face_unlock_area_view"
45 android:layout_width="match_parent"
46 android:layout_height="match_parent"
Brian Colonna27501672012-11-07 11:53:49 -050047 android:layout_gravity="center_horizontal"
Jim Miller5ecd8112013-01-09 18:50:26 -080048 android:background="@drawable/intro_bg"
Chris Wrenc0ae9e62012-11-05 13:16:31 -050049 android:gravity="center">
Jim Miller000464a2012-09-04 16:45:06 -070050
Chris Wrenc0ae9e62012-11-05 13:16:31 -050051 <View
52 android:id="@+id/spotlightMask"
53 android:layout_width="match_parent"
54 android:layout_height="match_parent"
Jim Miller5ecd8112013-01-09 18:50:26 -080055 android:background="@color/facelock_spotlight_mask"
Chris Wrenc0ae9e62012-11-05 13:16:31 -050056 />
Jim Miller000464a2012-09-04 16:45:06 -070057
Chris Wrenc0ae9e62012-11-05 13:16:31 -050058 <ImageButton
59 android:id="@+id/face_unlock_cancel_button"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:padding="5dip"
63 android:layout_alignParentTop="true"
64 android:layout_alignParentEnd="true"
65 android:background="#00000000"
Jim Miller5ecd8112013-01-09 18:50:26 -080066 android:src="@drawable/ic_facial_backup"
Chris Wrenc0ae9e62012-11-05 13:16:31 -050067 />
68 </com.android.internal.widget.FaceUnlockView>
69 </FrameLayout>
Jim Millerdcb3d842012-08-23 19:18:12 -070070
Jim Miller9e0a2502012-11-07 21:23:32 -080071 <include layout="@layout/keyguard_eca"
Jim Miller0ff7f012012-10-11 20:40:01 -070072 android:id="@+id/keyguard_selector_fade_container"
73 android:layout_width="match_parent"
74 android:layout_height="wrap_content"
75 android:orientation="vertical"
76 android:layout_gravity="bottom|center_horizontal"
77 android:gravity="center_horizontal" />
Jim Miller5ecd8112013-01-09 18:50:26 -080078</com.android.keyguard.KeyguardFaceUnlockView>