diff options
author | Dan Sandler <dsandler@android.com> | 2014-02-25 12:11:05 -0500 |
---|---|---|
committer | Dan Sandler <dsandler@android.com> | 2014-02-25 12:11:05 -0500 |
commit | ef1bcec0f559f60220f5c9c238b3e14494163ee7 (patch) | |
tree | 35715ac432a1547ab4305d1f4223f844e02dd4d8 /packages | |
parent | ada31d3d3879f83e9ef1f514b3ed678231f8b279 (diff) | |
download | frameworks_base-ef1bcec0f559f60220f5c9c238b3e14494163ee7.zip frameworks_base-ef1bcec0f559f60220f5c9c238b3e14494163ee7.tar.gz frameworks_base-ef1bcec0f559f60220f5c9c238b3e14494163ee7.tar.bz2 |
Fix boot crash on devices defaulting to landscape.
This is probably not what keyguard_simple_host_view should
look like in landscape, but we need the resource.
Bug: 13185323
Change-Id: Ib044db1f86510128d27ecf45546398c7c1b81aa4
Diffstat (limited to 'packages')
-rw-r--r-- | packages/Keyguard/res/layout-land/keyguard_simple_host_view.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/packages/Keyguard/res/layout-land/keyguard_simple_host_view.xml b/packages/Keyguard/res/layout-land/keyguard_simple_host_view.xml new file mode 100644 index 0000000..ebd0a64 --- /dev/null +++ b/packages/Keyguard/res/layout-land/keyguard_simple_host_view.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 2014, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License") +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<!-- This is the host view that generally contains two sub views: the widget view + and the security view. --> +<com.android.keyguard.KeyguardSimpleHostView + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:androidprv="http://schemas.android.com/apk/res/com.android.keyguard" + android:id="@+id/keyguard_host_view" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <com.android.keyguard.KeyguardSecurityContainer + android:id="@+id/keyguard_security_container" + android:layout_width="wrap_content" + android:layout_height="@dimen/keyguard_security_height" + android:clipChildren="false" + android:clipToPadding="false" + android:padding="0dp" + android:layout_gravity="center"> + <com.android.keyguard.KeyguardSecurityViewFlipper + android:id="@+id/view_flipper" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipChildren="false" + android:clipToPadding="false" + android:paddingTop="@dimen/keyguard_security_view_margin" + android:gravity="center"> + </com.android.keyguard.KeyguardSecurityViewFlipper> + </com.android.keyguard.KeyguardSecurityContainer> + +</com.android.keyguard.KeyguardSimpleHostView> + |