Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 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. --> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 23 | <com.android.keyguard.KeyguardPatternView |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 24 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 25 | xmlns:androidprv="http://schemas.android.com/apk/res/com.android.keyguard" |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 26 | android:id="@+id/keyguard_pattern_view" |
Jim Miller | 5737534 | 2012-09-09 15:20:31 -0700 | [diff] [blame] | 27 | android:orientation="vertical" |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 28 | android:layout_width="match_parent" |
Jim Miller | 5737534 | 2012-09-09 15:20:31 -0700 | [diff] [blame] | 29 | android:layout_height="match_parent" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 30 | androidprv:layout_maxWidth="@dimen/keyguard_security_width" |
| 31 | androidprv:layout_maxHeight="@dimen/keyguard_security_height" |
Svetoslav Ganov | c4842c1 | 2012-10-31 14:33:32 -0700 | [diff] [blame] | 32 | android:gravity="center_horizontal" |
| 33 | android:contentDescription="@string/keyguard_accessibility_pattern_unlock"> |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 34 | |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 35 | <FrameLayout |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 36 | android:layout_width="match_parent" |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 37 | android:layout_height="match_parent"> |
Jim Miller | 5737534 | 2012-09-09 15:20:31 -0700 | [diff] [blame] | 38 | |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 39 | <LinearLayout |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 40 | android:layout_height="wrap_content" |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 41 | android:layout_width="wrap_content" |
| 42 | android:orientation="vertical" |
| 43 | android:layout_gravity="center"> |
Jim Miller | 3af630c | 2012-09-26 14:29:18 -0700 | [diff] [blame] | 44 | |
Chris Wren | e1a8eee | 2012-11-08 12:28:15 -0500 | [diff] [blame] | 45 | <include layout="@layout/keyguard_message_area" |
| 46 | android:layout_width="match_parent" |
| 47 | android:layout_height="wrap_content" |
| 48 | /> |
| 49 | |
Chris Wren | c0ae9e6 | 2012-11-05 13:16:31 -0500 | [diff] [blame] | 50 | <FrameLayout |
| 51 | android:id="@+id/keyguard_bouncer_frame" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 52 | android:background="@drawable/kg_bouncer_bg_white" |
Chris Wren | c0ae9e6 | 2012-11-05 13:16:31 -0500 | [diff] [blame] | 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="0dp" |
| 55 | android:layout_weight="1" |
| 56 | > |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 57 | <com.android.internal.widget.LockPatternView |
| 58 | android:id="@+id/lockPatternView" |
Chris Wren | c0ae9e6 | 2012-11-05 13:16:31 -0500 | [diff] [blame] | 59 | android:layout_width="match_parent" |
| 60 | android:layout_height="match_parent" |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 61 | android:layout_weight="1" |
| 62 | android:layout_marginEnd="8dip" |
| 63 | android:layout_marginBottom="4dip" |
| 64 | android:layout_marginStart="8dip" |
| 65 | android:layout_gravity="center_horizontal" |
Svetoslav Ganov | c4842c1 | 2012-10-31 14:33:32 -0700 | [diff] [blame] | 66 | android:gravity="center" |
| 67 | android:contentDescription="@string/keyguard_accessibility_pattern_area" /> |
Chris Wren | c0ae9e6 | 2012-11-05 13:16:31 -0500 | [diff] [blame] | 68 | </FrameLayout> |
Jim Miller | 9e0a250 | 2012-11-07 21:23:32 -0800 | [diff] [blame] | 69 | <include layout="@layout/keyguard_eca" |
Chris Wren | c0ae9e6 | 2012-11-05 13:16:31 -0500 | [diff] [blame] | 70 | android:id="@+id/keyguard_selector_fade_container" |
| 71 | android:layout_width="match_parent" |
| 72 | android:layout_height="wrap_content" |
| 73 | android:orientation="vertical" |
| 74 | android:layout_gravity="bottom|center_horizontal" |
| 75 | android:gravity="center_horizontal" /> |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 76 | </LinearLayout> |
| 77 | </FrameLayout> |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 78 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 79 | </com.android.keyguard.KeyguardPatternView> |