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 host view that generally contains two sub views: the widget view |
| 21 | and the security view. --> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 22 | <com.android.keyguard.KeyguardHostView |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 23 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 24 | xmlns:androidprv="http://schemas.android.com/apk/res/com.android.keyguard" |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 25 | android:id="@+id/keyguard_host_view" |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 26 | android:layout_width="match_parent" |
| 27 | android:layout_height="match_parent" |
| 28 | android:gravity="center_horizontal" |
Jim Miller | 71b3cd5 | 2012-10-10 19:02:40 -0700 | [diff] [blame] | 29 | android:orientation="vertical"> |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 30 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 31 | <com.android.keyguard.SlidingChallengeLayout |
Jim Miller | d6523da | 2012-10-21 16:47:02 -0700 | [diff] [blame] | 32 | android:id="@+id/sliding_layout" |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 33 | android:layout_width="match_parent" |
Svetoslav Ganov | c4842c1 | 2012-10-31 14:33:32 -0700 | [diff] [blame] | 34 | android:layout_height="match_parent"> |
Jim Miller | 0ff7f01 | 2012-10-11 20:40:01 -0700 | [diff] [blame] | 35 | |
Jim Miller | d6523da | 2012-10-21 16:47:02 -0700 | [diff] [blame] | 36 | <FrameLayout |
| 37 | android:layout_width="match_parent" |
Winson Chung | c065a5d | 2012-11-07 17:17:33 -0800 | [diff] [blame] | 38 | android:layout_height="wrap_content" |
| 39 | androidprv:layout_childType="pageDeleteDropTarget"> |
Winson Chung | f3b9ec8 | 2012-11-01 14:48:51 -0700 | [diff] [blame] | 40 | <include layout="@layout/keyguard_widget_remove_drop_target" |
| 41 | android:id="@+id/keyguard_widget_pager_delete_target" |
| 42 | android:layout_width="wrap_content" |
| 43 | android:layout_height="wrap_content" |
| 44 | android:layout_gravity="top|center_horizontal" /> |
| 45 | </FrameLayout> |
| 46 | |
| 47 | <FrameLayout |
| 48 | android:layout_width="match_parent" |
Adam Powell | cdf8b48 | 2012-10-30 20:56:45 -0700 | [diff] [blame] | 49 | android:layout_height="match_parent" |
| 50 | androidprv:layout_childType="widgets"> |
Jim Miller | d6523da | 2012-10-21 16:47:02 -0700 | [diff] [blame] | 51 | <include layout="@layout/keyguard_widget_pager" |
Adam Cohen | 9ec871d | 2012-10-24 19:25:44 -0700 | [diff] [blame] | 52 | android:id="@+id/app_widget_container" |
| 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="match_parent" |
| 55 | android:layout_gravity="center"/> |
Jim Miller | d6523da | 2012-10-21 16:47:02 -0700 | [diff] [blame] | 56 | </FrameLayout> |
Jim Miller | 838906b | 2012-10-19 18:41:25 -0700 | [diff] [blame] | 57 | |
Adam Powell | eee2093 | 2012-10-24 16:26:56 -0700 | [diff] [blame] | 58 | <View android:layout_width="match_parent" |
| 59 | android:layout_height="match_parent" |
| 60 | androidprv:layout_childType="scrim" |
| 61 | android:background="#99000000" /> |
| 62 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 63 | <com.android.keyguard.KeyguardSecurityContainer |
Jim Miller | d6523da | 2012-10-21 16:47:02 -0700 | [diff] [blame] | 64 | android:id="@+id/keyguard_security_container" |
Adam Powell | cdf8b48 | 2012-10-30 20:56:45 -0700 | [diff] [blame] | 65 | android:layout_width="wrap_content" |
Adam Powell | 9799714 | 2012-11-06 21:32:42 -0800 | [diff] [blame] | 66 | android:layout_height="wrap_content" |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 67 | androidprv:layout_maxHeight="@dimen/keyguard_security_height" |
Adam Powell | eee2093 | 2012-10-24 16:26:56 -0700 | [diff] [blame] | 68 | androidprv:layout_childType="challenge" |
Adam Powell | cdf8b48 | 2012-10-30 20:56:45 -0700 | [diff] [blame] | 69 | android:padding="0dp" |
Adam Powell | 6f35209 | 2012-10-25 20:49:32 -0700 | [diff] [blame] | 70 | android:gravity="bottom|center_horizontal"> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 71 | <com.android.keyguard.KeyguardSecurityViewFlipper |
Jim Miller | d6523da | 2012-10-21 16:47:02 -0700 | [diff] [blame] | 72 | android:id="@+id/view_flipper" |
Daniel Sandler | 8a26bf5 | 2012-10-30 13:29:50 -0400 | [diff] [blame] | 73 | android:layout_width="match_parent" |
| 74 | android:layout_height="match_parent" |
Jim Miller | d6523da | 2012-10-21 16:47:02 -0700 | [diff] [blame] | 75 | android:clipChildren="false" |
| 76 | android:clipToPadding="false" |
Jim Miller | d6523da | 2012-10-21 16:47:02 -0700 | [diff] [blame] | 77 | android:paddingTop="@dimen/keyguard_security_view_margin" |
Jim Miller | d6523da | 2012-10-21 16:47:02 -0700 | [diff] [blame] | 78 | android:gravity="center"> |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 79 | </com.android.keyguard.KeyguardSecurityViewFlipper> |
| 80 | </com.android.keyguard.KeyguardSecurityContainer> |
Svetoslav Ganov | c4842c1 | 2012-10-31 14:33:32 -0700 | [diff] [blame] | 81 | |
| 82 | <ImageButton |
Svetoslav Ganov | 0f87a72 | 2012-11-01 11:09:37 -0700 | [diff] [blame] | 83 | android:layout_width="match_parent" |
| 84 | android:layout_height="@dimen/kg_widget_pager_bottom_padding" |
Svetoslav Ganov | c4842c1 | 2012-10-31 14:33:32 -0700 | [diff] [blame] | 85 | androidprv:layout_childType="expandChallengeHandle" |
| 86 | android:focusable="true" |
| 87 | android:background="@null" |
| 88 | android:src="@drawable/keyguard_expand_challenge_handle" |
| 89 | android:scaleType="center" |
| 90 | android:contentDescription="@string/keyguard_accessibility_expand_lock_area" /> |
| 91 | |
Jim Miller | 5ecd811 | 2013-01-09 18:50:26 -0800 | [diff] [blame] | 92 | </com.android.keyguard.SlidingChallengeLayout> |
| 93 | </com.android.keyguard.KeyguardHostView> |
Jim Miller | dcb3d84 | 2012-08-23 19:18:12 -0700 | [diff] [blame] | 94 | |