1<?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
20<!-- This is the screen that shows the 9 circle unlock widget and instructs
21     the user how to unlock their device, or make an emergency call.  This
22     is the portrait layout.  -->
23<com.android.keyguard.KeyguardPatternView
24    xmlns:android="http://schemas.android.com/apk/res/android"
25    xmlns:androidprv="http://schemas.android.com/apk/res-auto"
26    android:id="@+id/keyguard_pattern_view"
27    android:orientation="vertical"
28    android:layout_width="match_parent"
29    android:layout_height="match_parent"
30    android:clipChildren="false"
31    android:clipToPadding="false"
32    androidprv:layout_maxWidth="@dimen/keyguard_security_width"
33    androidprv:layout_maxHeight="@dimen/keyguard_security_height"
34    android:gravity="center_horizontal"
35    android:contentDescription="@string/keyguard_accessibility_pattern_unlock">
36
37    <FrameLayout
38        android:layout_width="match_parent"
39        android:layout_height="match_parent"
40        android:clipChildren="false"
41        android:clipToPadding="false">
42
43        <LinearLayout
44            android:layout_height="wrap_content"
45            android:layout_width="wrap_content"
46            android:orientation="vertical"
47            android:layout_gravity="center_horizontal|bottom"
48            android:clipChildren="false"
49            android:clipToPadding="false">
50
51            <include layout="@layout/keyguard_message_area"
52                android:layout_width="match_parent"
53                android:layout_height="wrap_content"
54               />
55
56          <FrameLayout
57             android:id="@+id/keyguard_bouncer_frame"
58             android:layout_width="match_parent"
59             android:layout_height="0dp"
60             android:layout_weight="1"
61             android:clipChildren="false"
62             android:clipToPadding="false"
63             >
64            <com.android.internal.widget.LockPatternView
65                android:id="@+id/lockPatternView"
66                android:layout_width="match_parent"
67                android:layout_height="match_parent"
68                android:layout_weight="1"
69                android:layout_marginEnd="8dip"
70                android:layout_marginBottom="4dip"
71                android:layout_marginStart="8dip"
72                android:layout_gravity="center_horizontal"
73                android:gravity="center"
74                android:contentDescription="@string/keyguard_accessibility_pattern_area"
75                android:clipChildren="false"
76                android:clipToPadding="false" />
77          </FrameLayout>
78          <include layout="@layout/keyguard_eca"
79              android:id="@+id/keyguard_selector_fade_container"
80              android:layout_width="match_parent"
81              android:layout_height="wrap_content"
82              android:orientation="vertical"
83              android:layout_gravity="bottom|center_horizontal"
84              android:gravity="center_horizontal" />
85        </LinearLayout>
86    </FrameLayout>
87
88</com.android.keyguard.KeyguardPatternView>
89