summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-08-13 18:27:47 +0200
committerJorim Jaggi <jjaggi@google.com>2014-08-14 19:16:33 +0000
commitd7c1fae12ef0b31c225ef130e6b06445b5af53a9 (patch)
tree2ef2c01fe52c5aea419e4548fd028a07dd00a8fd /packages/Keyguard
parent0f623eb8340d43d6bfa0299c87556712c79e6936 (diff)
downloadframeworks_base-d7c1fae12ef0b31c225ef130e6b06445b5af53a9.zip
frameworks_base-d7c1fae12ef0b31c225ef130e6b06445b5af53a9.tar.gz
frameworks_base-d7c1fae12ef0b31c225ef130e6b06445b5af53a9.tar.bz2
Don't scale notifications on Keyguard for devices < xxhdpi
Bug: 16824061 Change-Id: Iccccebcd17357764aef325df0cd220508fcf7403
Diffstat (limited to 'packages/Keyguard')
-rw-r--r--packages/Keyguard/res/values-h560dp/dimens.xml20
-rw-r--r--packages/Keyguard/res/values/dimens.xml2
2 files changed, 21 insertions, 1 deletions
diff --git a/packages/Keyguard/res/values-h560dp/dimens.xml b/packages/Keyguard/res/values-h560dp/dimens.xml
new file mode 100644
index 0000000..1683113
--- /dev/null
+++ b/packages/Keyguard/res/values-h560dp/dimens.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 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
+ -->
+
+<resources>
+ <dimen name="widget_big_font_size">96dp</dimen>
+</resources> \ No newline at end of file
diff --git a/packages/Keyguard/res/values/dimens.xml b/packages/Keyguard/res/values/dimens.xml
index e822c82..bfc0531 100644
--- a/packages/Keyguard/res/values/dimens.xml
+++ b/packages/Keyguard/res/values/dimens.xml
@@ -161,7 +161,7 @@
<dimen name="bottom_text_spacing_digital">-10dp</dimen>
<dimen name="label_font_size">14dp</dimen>
<dimen name="widget_label_font_size">16sp</dimen>
- <dimen name="widget_big_font_size">96dp</dimen>
+ <dimen name="widget_big_font_size">88dp</dimen>
<dimen name="big_font_size">120dp</dimen>
<!-- The y translation to apply at the start in appear animations. -->