diff options
author | Dan Sandler <dsandler@android.com> | 2014-02-25 18:59:30 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-02-25 18:59:31 +0000 |
commit | 2b733f85e2e8dc7e981655f0cd151404b3a110c1 (patch) | |
tree | 301ddfc86fe5cea9d818b1a4416629a6a8860f8e /packages | |
parent | b5abedbd5cef473574884a7453cdf4d412af26af (diff) | |
parent | ef1bcec0f559f60220f5c9c238b3e14494163ee7 (diff) | |
download | frameworks_base-2b733f85e2e8dc7e981655f0cd151404b3a110c1.zip frameworks_base-2b733f85e2e8dc7e981655f0cd151404b3a110c1.tar.gz frameworks_base-2b733f85e2e8dc7e981655f0cd151404b3a110c1.tar.bz2 |
Merge "Fix boot crash on devices defaulting to landscape."
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> + |