summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout-sw600dp
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-03-24 12:27:40 -0700
committerDanesh M <daneshm90@gmail.com>2015-11-05 17:33:10 -0800
commitab5cf35d923fd7e6ef89bf3d84f8f439914c5ff4 (patch)
tree2e41aac770e9db946e293f976415ffe3d1696dec /packages/SystemUI/res/layout-sw600dp
parent78d1179c730973d82824f56ad1d7e8db073a24bb (diff)
downloadframeworks_base-ab5cf35d923fd7e6ef89bf3d84f8f439914c5ff4.zip
frameworks_base-ab5cf35d923fd7e6ef89bf3d84f8f439914c5ff4.tar.gz
frameworks_base-ab5cf35d923fd7e6ef89bf3d84f8f439914c5ff4.tar.bz2
SystemUI: fix incorrectly sized nav bar icons
Change-Id: Ief45ac0ed54f5a22477d54f685ec423350fc467c Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'packages/SystemUI/res/layout-sw600dp')
-rw-r--r--packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_port.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_port.xml b/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_port.xml
index 3253b92..f7ed737 100644
--- a/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_port.xml
+++ b/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_port.xml
@@ -61,24 +61,28 @@
android:animateLayoutChanges="true">
<com.android.systemui.statusbar.policy.KeyButtonView
android:id="@+id/two"
+ android:scaleType="centerInside"
android:layout_width="128dp" android:paddingLeft="25dp" android:paddingRight="25dp"
android:layout_height="match_parent"
systemui:keyRepeat="true"
android:layout_weight="0" />
<com.android.systemui.statusbar.policy.KeyButtonView
android:id="@+id/three"
+ android:scaleType="centerInside"
android:layout_width="128dp" android:paddingLeft="25dp" android:paddingRight="25dp"
android:layout_height="match_parent"
systemui:keyRepeat="true"
android:layout_weight="0" />
<com.android.systemui.statusbar.policy.KeyButtonView
android:id="@+id/four"
+ android:scaleType="centerInside"
android:layout_width="128dp" android:paddingLeft="25dp" android:paddingRight="25dp"
android:layout_height="match_parent"
android:layout_weight="0"
systemui:keyRepeat="true" />
<com.android.systemui.statusbar.policy.KeyButtonView
android:id="@+id/five"
+ android:scaleType="centerInside"
android:layout_width="128dp" android:paddingLeft="25dp" android:paddingRight="25dp"
android:layout_height="match_parent"
android:layout_weight="0"
@@ -106,14 +110,14 @@
android:layout_width="@dimen/navigation_extra_key_width"
android:layout_height="match_parent"
android:layout_weight="0"
- android:scaleType="fitCenter" />
+ android:scaleType="centerInside" />
<com.android.systemui.statusbar.policy.KeyButtonView
android:id="@+id/dpad_right"
android:visibility="gone"
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_weight="0"
- android:scaleType="fitCenter"
+ android:scaleType="centerInside"
systemui:keyRepeat="true" />
</FrameLayout>