summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2011-10-28 16:47:09 -0400
committerDaniel Sandler <dsandler@android.com>2011-10-28 16:47:09 -0400
commit9929fa305851969fae09289304c65650b1c75131 (patch)
tree5f928d282470082a521384723a9524cb0b919ee0
parentd887377aa84f0d422cf605dad981f8dc53c0f99f (diff)
downloadframeworks_base-9929fa305851969fae09289304c65650b1c75131.zip
frameworks_base-9929fa305851969fae09289304c65650b1c75131.tar.gz
frameworks_base-9929fa305851969fae09289304c65650b1c75131.tar.bz2
Vertically center the landscape navigation bar.
We used the paddingTop parameter in the rot90 layout to pretend that there was a status bar shifting all the navigation icons down; by setting this to 0 we now spread the navigation icons evenly across the entire display. Bug: 5530481 Bug: 5459659 Change-Id: I7f8663049c597300818549f18d7a419537f44b96
-rw-r--r--packages/SystemUI/res/layout/navigation_bar.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout/navigation_bar.xml b/packages/SystemUI/res/layout/navigation_bar.xml
index 25bc2ea..d19fd81 100644
--- a/packages/SystemUI/res/layout/navigation_bar.xml
+++ b/packages/SystemUI/res/layout/navigation_bar.xml
@@ -156,7 +156,7 @@
android:layout_height="match_parent"
android:layout_width="match_parent"
android:visibility="gone"
- android:paddingTop="24dp"
+ android:paddingTop="0dp"
>
<LinearLayout