summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values-land
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@google.com>2011-08-04 09:35:13 -0400
committerDaniel Sandler <dsandler@google.com>2011-08-10 16:10:59 -0400
commit36412a7e7c4929bdac1221b7ced9e73d0d204691 (patch)
tree75598311916a8a26dad82b182adcca02d863a8ed /packages/SystemUI/res/values-land
parentaba367eea4792a1d3778061181e3a38e188f4f06 (diff)
downloadframeworks_base-36412a7e7c4929bdac1221b7ced9e73d0d204691.zip
frameworks_base-36412a7e7c4929bdac1221b7ced9e73d0d204691.tar.gz
frameworks_base-36412a7e7c4929bdac1221b7ced9e73d0d204691.tar.bz2
Subtract the navigation bar from DisplayMetrics.
Its region is now treated like the system bar: inaccessible to applications and therefore not worth reporting as part of the display. (Note that using setSystemUiVisibility you can gain temporary access to the navigation bar region, unlike the sempiternal system bar.) The navigation bar is now considerably less in control of its own behavior (the window manager assumes it will be a certain size and in a certain position in landscape and portrait). This change also fixes the navbar so that it becomes GONE instead of merely INVISIBLE (allowing underlying windows to expand in size accordingly). Bug: 5052456 // the feature Bug: 5067627 // notification shade falling behind the navbar Bug: 4959805 // fix third-party apps relying on DisplayMetrics Change-Id: I60257fc5c858e0edcaba8cfc1f8d58dd99a68258
Diffstat (limited to 'packages/SystemUI/res/values-land')
-rw-r--r--packages/SystemUI/res/values-land/dimens.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/res/values-land/dimens.xml b/packages/SystemUI/res/values-land/dimens.xml
index 0219a77..3919685 100644
--- a/packages/SystemUI/res/values-land/dimens.xml
+++ b/packages/SystemUI/res/values-land/dimens.xml
@@ -17,7 +17,7 @@
-->
<resources>
<!-- thickness (width) of the navigation bar on phones that require it -->
- <dimen name="navigation_bar_size">42dp</dimen>
+ <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_width</dimen>
<!-- Recent Applications parameters -->
<!-- Width of a recent app view, including all content -->