diff options
author | Roman Birg <roman@cyngn.com> | 2015-03-25 13:51:29 -0700 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2015-11-10 11:05:50 -0800 |
commit | 1b62ba49d4174179d170493dd3c888f572eccda7 (patch) | |
tree | 6867da4f2b0f5162d552e3f2afe080c8d6c638d9 /packages/SystemUI/res/layout-sw600dp | |
parent | 8cec55a1218df926b77b9d49477a4eea45b20401 (diff) | |
download | frameworks_base-1b62ba49d4174179d170493dd3c888f572eccda7.zip frameworks_base-1b62ba49d4174179d170493dd3c888f572eccda7.tar.gz frameworks_base-1b62ba49d4174179d170493dd3c888f572eccda7.tar.bz2 |
SystemUI: fix nav buttons for portrait tablets
Change-Id: I3230cc375f9506a938e885667e656341006fea50
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_land.xml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_land.xml b/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_land.xml index 4869b32..43426d1 100644 --- a/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_land.xml +++ b/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_land.xml @@ -29,14 +29,14 @@ android:layout_width="48dp" android:layout_height="match_parent" android:layout_weight="0" - android:scaleType="fitCenter" + android:scaleType="centerInside" systemui:keyRepeat="true" /> <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/one" android:layout_width="48dp" android:layout_height="match_parent" android:layout_weight="0" - android:scaleType="fitCenter" /> + android:scaleType="centerInside" /> <View android:layout_width="0dp" android:layout_height="match_parent" @@ -53,24 +53,28 @@ android:animateLayoutChanges="true"> <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/two" + android:scaleType="centerInside" android:layout_width="162dp" android:paddingLeft="42dp" android:paddingRight="42dp" 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="162dp" android:paddingLeft="42dp" android:paddingRight="42dp" 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="162dp" android:paddingLeft="42dp" android:paddingRight="42dp" 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="162dp" android:paddingLeft="42dp" android:paddingRight="42dp" android:layout_height="match_parent" android:layout_weight="0" @@ -96,6 +100,7 @@ android:contentDescription="@string/accessibility_ime_switch_button" /> <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/six" + android:scaleType="centerInside" android:layout_width="@dimen/navigation_extra_key_width" android:layout_height="match_parent" /> <com.android.systemui.statusbar.policy.KeyButtonView @@ -104,7 +109,7 @@ android:layout_width="48dp" android:layout_height="match_parent" android:layout_weight="0" - android:scaleType="fitCenter" + android:scaleType="centerInside" systemui:keyRepeat="true"/> </FrameLayout> </LinearLayout> |