diff options
author | Andreas B <skate4life@gmx.de> | 2014-02-25 18:36:21 +0100 |
---|---|---|
committer | Andreas B <skate4life@gmx.de> | 2014-03-05 15:42:42 +0100 |
commit | 114843de196cedb567d0faf513cd58198da4b724 (patch) | |
tree | 28f0e080684a17506c609fcac58879547c079fda /overlay/frameworks | |
parent | b2d512942072f1861538851560d07a08f1cb24c8 (diff) | |
download | device_samsung_espresso3g-114843de196cedb567d0faf513cd58198da4b724.zip device_samsung_espresso3g-114843de196cedb567d0faf513cd58198da4b724.tar.gz device_samsung_espresso3g-114843de196cedb567d0faf513cd58198da4b724.tar.bz2 |
P5100: Fix Sim-PIN layout
Fix a long standing lockscreen layout problem that was introduced in 4.2
Before: http://i.imgur.com/NETsfBy.png
After: http://i.imgur.com/80iWcRU.png
Change-Id: I5914c11025a73fadfb35b8029da421472d4b4d04
Diffstat (limited to 'overlay/frameworks')
-rw-r--r-- | overlay/frameworks/base/packages/Keyguard/res/values-large/dimens.xml | 31 | ||||
-rw-r--r-- | overlay/frameworks/base/packages/Keyguard/res/values-sw600dp/dimens.xml | 32 |
2 files changed, 63 insertions, 0 deletions
diff --git a/overlay/frameworks/base/packages/Keyguard/res/values-large/dimens.xml b/overlay/frameworks/base/packages/Keyguard/res/values-large/dimens.xml new file mode 100644 index 0000000..958797c --- /dev/null +++ b/overlay/frameworks/base/packages/Keyguard/res/values-large/dimens.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2011, 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> + <!-- Top padding of num pad key on keyguard --> + <dimen name="kg_num_pad_key_padding_top">1dp</dimen> + + <!--Bottom padding of num pad key on keyguard --> + <dimen name="kg_num_pad_key_padding_bottom">1dp</dimen> + + <!--Height of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) --> + <dimen name="keyguard_security_height">450dp</dimen> + + <!--Height of the sliding KeyguardSecurityContainer with hidden widget (includes 2x keyguard_security_view_margin) --> + <dimen name="keyguard_security_no_widget_height">450dp</dimen> +</resources> diff --git a/overlay/frameworks/base/packages/Keyguard/res/values-sw600dp/dimens.xml b/overlay/frameworks/base/packages/Keyguard/res/values-sw600dp/dimens.xml new file mode 100644 index 0000000..c4ddc75 --- /dev/null +++ b/overlay/frameworks/base/packages/Keyguard/res/values-sw600dp/dimens.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/common/assets/res/any/dimens.xml +** +** Copyright 2006, 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> + <!-- Top padding of num pad key on keyguard --> + <dimen name="kg_num_pad_key_padding_top">1dp</dimen> + + <!--Bottom padding of num pad key on keyguard --> + <dimen name="kg_num_pad_key_padding_bottom">1dp</dimen> + + <!--Height of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) --> + <dimen name="keyguard_security_height">450dp</dimen> + + <!--Height of the sliding KeyguardSecurityContainer with hidden widget (includes 2x keyguard_security_view_margin) --> + <dimen name="keyguard_security_no_widget_height">450dp</dimen> +</resources> |