diff options
author | Danesh M <daneshm90@gmail.com> | 2015-01-30 18:10:45 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-11-10 11:05:38 -0800 |
commit | 8cec55a1218df926b77b9d49477a4eea45b20401 (patch) | |
tree | 1bf78f033c5d8b4521ada32db194d2ae6482415c /packages/SystemUI/res/layout-sw600dp | |
parent | ce048eb02050104a3d5d0131eef8a50888698337 (diff) | |
download | frameworks_base-8cec55a1218df926b77b9d49477a4eea45b20401.zip frameworks_base-8cec55a1218df926b77b9d49477a4eea45b20401.tar.gz frameworks_base-8cec55a1218df926b77b9d49477a4eea45b20401.tar.bz2 |
SystemUI : NavigationBar fixes
Change-Id: I332b7dd0e61c0ec63cc9fc633f736d347344c99b
Diffstat (limited to 'packages/SystemUI/res/layout-sw600dp')
-rw-r--r-- | packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_land.xml | 95 | ||||
-rw-r--r-- | packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_port.xml | 8 |
2 files changed, 52 insertions, 51 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 6b1184a..4869b32 100644 --- a/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_land.xml +++ b/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_land.xml @@ -1,22 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> <!-- -/* -** Copyright 2015 The CyanogenMod Project -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ ---> + Copyright 2015, The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:systemui="http://schemas.android.com/apk/res-auto" @@ -26,33 +23,20 @@ android:clipChildren="false" android:clipToPadding="false" android:id="@+id/nav_buttons"> - - <FrameLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" > - <com.android.systemui.statusbar.policy.KeyButtonView - android:id="@+id/dpad_left" - android:visibility="gone" - android:layout_width="48dp" - android:layout_height="match_parent" - android:layout_weight="0" - android:scaleType="fitCenter" - 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="centerInside" /> - <com.android.systemui.statusbar.policy.KeyButtonView - android:id="@+id/ime_switcher" - android:layout_width="match_parent" - android:layout_height="@dimen/navigation_extra_key_width" - android:src="@drawable/ic_ime_switcher_default" - android:visibility="invisible" - android:contentDescription="@string/accessibility_ime_switch_button" - android:scaleType="centerInside" /> - </FrameLayout> + <com.android.systemui.statusbar.policy.KeyButtonView + android:id="@+id/dpad_left" + android:visibility="gone" + android:layout_width="48dp" + android:layout_height="match_parent" + android:layout_weight="0" + android:scaleType="fitCenter" + 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" /> <View android:layout_width="0dp" android:layout_height="match_parent" @@ -97,8 +81,23 @@ android:layout_height="match_parent" android:layout_weight="1" /> <FrameLayout - android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_width="@dimen/navigation_extra_key_width" + android:layout_height="match_parent" + android:layout_weight="0" + android:layout_marginEnd="2dp" > + <com.android.systemui.statusbar.policy.KeyButtonView + android:id="@+id/ime_switcher" + android:layout_width="@dimen/navigation_extra_key_width" + android:layout_height="match_parent" + android:layout_marginEnd="2dp" + android:scaleType="centerInside" + android:src="@drawable/ic_ime_switcher_default" + android:visibility="invisible" + android:contentDescription="@string/accessibility_ime_switch_button" /> + <com.android.systemui.statusbar.policy.KeyButtonView + android:id="@+id/six" + android:layout_width="@dimen/navigation_extra_key_width" + android:layout_height="match_parent" /> <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/dpad_right" android:visibility="gone" @@ -107,11 +106,5 @@ android:layout_weight="0" android:scaleType="fitCenter" systemui:keyRepeat="true"/> - <com.android.systemui.statusbar.policy.KeyButtonView - android:id="@+id/six" - android:layout_width="48dp" - android:layout_height="match_parent" - android:layout_weight="0" - android:scaleType="fitCenter"/> </FrameLayout> </LinearLayout> 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 f7ed737..a7dedbd 100644 --- a/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_port.xml +++ b/packages/SystemUI/res/layout-sw600dp/mid_navigation_bar_port.xml @@ -39,6 +39,14 @@ android:scaleType="fitCenter" systemui:keyRepeat="true" /> <com.android.systemui.statusbar.policy.KeyButtonView + android:id="@+id/dpad_left" + android:visibility="gone" + android:layout_width="48dp" + android:layout_height="match_parent" + android:layout_weight="0" + android:scaleType="fitCenter" + systemui:keyRepeat="true" /> + <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/one" android:layout_width="@dimen/navigation_extra_key_width" android:layout_height="match_parent" |