summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout-sw600dp
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2012-07-27 18:27:11 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2012-12-17 17:03:09 -0800
commit8afcd149970c79054a3a16377834aa0aec35eee0 (patch)
tree895b157fd2b52bf47b67cb610c73a621746d8b7d /packages/SystemUI/res/layout-sw600dp
parentf50a37d30288aae5c05ef1cf266ed11772ca727e (diff)
downloadframeworks_base-8afcd149970c79054a3a16377834aa0aec35eee0.zip
frameworks_base-8afcd149970c79054a3a16377834aa0aec35eee0.tar.gz
frameworks_base-8afcd149970c79054a3a16377834aa0aec35eee0.tar.bz2
Make SystemUI RTL aware
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: Ica88ed68f893d5272691a9207788b65623849dee
Diffstat (limited to 'packages/SystemUI/res/layout-sw600dp')
-rw-r--r--packages/SystemUI/res/layout-sw600dp/navigation_bar.xml16
-rw-r--r--packages/SystemUI/res/layout-sw600dp/super_status_bar.xml4
2 files changed, 10 insertions, 10 deletions
diff --git a/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml b/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml
index b1104cc..0bac993 100644
--- a/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml
+++ b/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml
@@ -45,7 +45,7 @@
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_weight="0"
- android:layout_marginLeft="2dp"
+ android:layout_marginStart="2dp"
android:visibility="invisible"
/>
<Space
@@ -89,7 +89,7 @@
android:layout_width="48dp"
android:layout_height="match_parent"
android:src="@drawable/ic_sysbar_menu"
- android:layout_marginRight="2dp"
+ android:layout_marginEnd="2dp"
systemui:keyCode="82"
android:layout_weight="0"
android:visibility="invisible"
@@ -114,7 +114,7 @@
<ImageView
android:layout_width="128dp" android:paddingLeft="25dp" android:paddingRight="25dp"
android:layout_height="match_parent"
- android:layout_marginLeft="40dp"
+ android:layout_marginStart="40dp"
android:src="@drawable/ic_sysbar_lights_out_dot_small"
android:scaleType="center"
android:layout_weight="0"
@@ -128,7 +128,7 @@
/>
<ImageView
android:layout_width="128dp" android:paddingLeft="25dp" android:paddingRight="25dp"
- android:layout_marginRight="40dp"
+ android:layout_marginEnd="40dp"
android:layout_height="match_parent"
android:src="@drawable/ic_sysbar_lights_out_dot_small"
android:scaleType="center"
@@ -186,7 +186,7 @@
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_weight="0"
- android:layout_marginLeft="2dp"
+ android:layout_marginStart="2dp"
android:visibility="invisible"
/>
<Space
@@ -229,7 +229,7 @@
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/menu"
android:layout_width="48dp"
android:layout_height="match_parent"
- android:layout_marginRight="2dp"
+ android:layout_marginEnd="2dp"
android:src="@drawable/ic_sysbar_menu"
systemui:keyCode="82"
android:layout_weight="0"
@@ -255,7 +255,7 @@
<ImageView
android:layout_width="162dp" android:paddingLeft="42dp" android:paddingRight="42dp"
android:layout_height="match_parent"
- android:layout_marginLeft="40dp"
+ android:layout_marginStart="40dp"
android:src="@drawable/ic_sysbar_lights_out_dot_small"
android:scaleType="center"
android:layout_weight="0"
@@ -269,7 +269,7 @@
/>
<ImageView
android:layout_width="162dp" android:paddingLeft="42dp" android:paddingRight="42dp"
- android:layout_marginRight="40dp"
+ android:layout_marginEnd="40dp"
android:layout_height="match_parent"
android:src="@drawable/ic_sysbar_lights_out_dot_small"
android:scaleType="center"
diff --git a/packages/SystemUI/res/layout-sw600dp/super_status_bar.xml b/packages/SystemUI/res/layout-sw600dp/super_status_bar.xml
index b68632a..0947c6f 100644
--- a/packages/SystemUI/res/layout-sw600dp/super_status_bar.xml
+++ b/packages/SystemUI/res/layout-sw600dp/super_status_bar.xml
@@ -41,12 +41,12 @@
<include layout="@layout/status_bar_expanded"
android:layout_width="@dimen/notification_panel_width"
android:layout_height="wrap_content"
- android:layout_gravity="left|top"
+ android:layout_gravity="start|top"
/>
<include layout="@layout/quick_settings"
android:layout_width="@dimen/notification_panel_width"
android:layout_height="wrap_content"
- android:layout_gravity="right|top"
+ android:layout_gravity="end|top"
/>
</com.android.systemui.statusbar.phone.PanelHolder>
</com.android.systemui.statusbar.phone.StatusBarWindowView>