summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values-land
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-08-06 16:03:14 -0400
committerJohn Spurlock <jspurlock@google.com>2014-08-06 23:33:53 -0400
commit7e6809ad643fa4a70cfb647191731c68f07789cd (patch)
tree22cf7a75674ed5782f409e34cee77257cd1edb03 /packages/SystemUI/res/values-land
parent7c7bc7f6917484250974c5da00af9ef756844b0a (diff)
downloadframeworks_base-7e6809ad643fa4a70cfb647191731c68f07789cd.zip
frameworks_base-7e6809ad643fa4a70cfb647191731c68f07789cd.tar.gz
frameworks_base-7e6809ad643fa4a70cfb647191731c68f07789cd.tar.bz2
Common shade width across devices.
Use 400dp as the visual width of the shade across all devices and orientations, except small device portrait. Since the width is now dynamic across orientations, update the necessary views in SystemUI on rotate. Remove obsolete styles + resources. Set max QS columns to 3 on all devices, due to the newer shade width. Bug:16825515 Change-Id: Iff171549a79bc318a4d585a2d9ea2af9bc686922
Diffstat (limited to 'packages/SystemUI/res/values-land')
-rw-r--r--packages/SystemUI/res/values-land/config.xml3
-rw-r--r--packages/SystemUI/res/values-land/dimens.xml5
2 files changed, 3 insertions, 5 deletions
diff --git a/packages/SystemUI/res/values-land/config.xml b/packages/SystemUI/res/values-land/config.xml
index 5755029..2b1a4dc 100644
--- a/packages/SystemUI/res/values-land/config.xml
+++ b/packages/SystemUI/res/values-land/config.xml
@@ -24,9 +24,6 @@
value at runtime for some things) -->
<integer name="status_bar_recents_bg_gradient_degrees">90</integer>
- <!-- The number of columns in the QuickSettings -->
- <integer name="quick_settings_num_columns">4</integer>
-
<!-- The maximum number of rows in the QuickSettings -->
<integer name="quick_settings_max_rows">2</integer>
diff --git a/packages/SystemUI/res/values-land/dimens.xml b/packages/SystemUI/res/values-land/dimens.xml
index 42c4392..9b772bd 100644
--- a/packages/SystemUI/res/values-land/dimens.xml
+++ b/packages/SystemUI/res/values-land/dimens.xml
@@ -41,6 +41,7 @@
<!-- The side padding for the task stack as a percentage of the width. -->
<item name="recents_stack_width_padding_percentage" format="float" type="dimen">0.2229</item>
- <!-- Width of the zen mode interstitial dialog. -->
- <dimen name="zen_mode_dialog_width">384dp</dimen>
+ <!-- Standard notification width + gravity -->
+ <dimen name="notification_panel_width">@dimen/standard_notification_panel_width</dimen>
+ <integer name="notification_panel_layout_gravity">@integer/standard_notification_panel_layout_gravity</integer>
</resources>