summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2013-10-29 16:19:12 -0700
committerJim Miller <jaggies@google.com>2013-10-29 16:31:58 -0700
commit65a788585b4c2a68913ef6f31ed050a64f5f8d4c (patch)
tree5b1fab1787eca662d84579400d97d3c02d6ab818
parente5c1208ef9ef7d10b5bae6c82b9eb5a92da1244e (diff)
downloadframeworks_base-65a788585b4c2a68913ef6f31ed050a64f5f8d4c.zip
frameworks_base-65a788585b4c2a68913ef6f31ed050a64f5f8d4c.tar.gz
frameworks_base-65a788585b4c2a68913ef6f31ed050a64f5f8d4c.tar.bz2
Add an intermediate dimens resource for 540dp device.
A 540dp device causes keyguard to select SlidingChallengeLayout and a height of 400dp which isn't enough space for the security area. This fix adds an intermediate value to grow the security area slightly. Fixes bug 11344424 Change-Id: I35c979f619c593b604e4bf45afd3e591329229e4
-rw-r--r--packages/Keyguard/res/values-sw540dp-port/dimens.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/Keyguard/res/values-sw540dp-port/dimens.xml b/packages/Keyguard/res/values-sw540dp-port/dimens.xml
new file mode 100644
index 0000000..de3106f
--- /dev/null
+++ b/packages/Keyguard/res/values-sw540dp-port/dimens.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/* //device/apps/common/assets/res/any/dimens.xml
+**
+** Copyright 2013, 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.
+*/
+-->
+<resources>
+ <!-- Height of the sliding KeyguardSecurityContainer
+ (includes 2x keyguard_security_view_margin) -->
+ <dimen name="keyguard_security_height">500dp</dimen>
+</resources>