summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout-land
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-land
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-land')
-rw-r--r--packages/SystemUI/res/layout-land/status_bar_help.xml2
-rw-r--r--packages/SystemUI/res/layout-land/status_bar_recent_item.xml12
-rw-r--r--packages/SystemUI/res/layout-land/status_bar_recent_panel.xml2
-rw-r--r--packages/SystemUI/res/layout-land/status_bar_search_panel.xml2
4 files changed, 9 insertions, 9 deletions
diff --git a/packages/SystemUI/res/layout-land/status_bar_help.xml b/packages/SystemUI/res/layout-land/status_bar_help.xml
index 5a635ae..83b9829 100644
--- a/packages/SystemUI/res/layout-land/status_bar_help.xml
+++ b/packages/SystemUI/res/layout-land/status_bar_help.xml
@@ -27,7 +27,7 @@
android:background="#DD000000"
android:focusable="true"
android:orientation="horizontal"
- android:gravity="top|left"
+ android:gravity="top|start"
>
<ImageView
diff --git a/packages/SystemUI/res/layout-land/status_bar_recent_item.xml b/packages/SystemUI/res/layout-land/status_bar_recent_item.xml
index 10e313e..47d628b 100644
--- a/packages/SystemUI/res/layout-land/status_bar_recent_item.xml
+++ b/packages/SystemUI/res/layout-land/status_bar_recent_item.xml
@@ -38,10 +38,10 @@
<FrameLayout android:id="@+id/app_thumbnail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin"
- android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin"
+ android:layout_marginStart="@dimen/status_bar_recents_thumbnail_left_margin"
android:background="@drawable/recents_thumbnail_bg"
android:foreground="@drawable/recents_thumbnail_fg"
android:visibility="invisible">
@@ -55,8 +55,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin"
- android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin"
- android:layout_alignParentLeft="true"
+ android:layout_marginStart="@dimen/status_bar_recents_app_icon_left_margin"
+ android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:maxWidth="@dimen/status_bar_recents_app_icon_max_width"
android:maxHeight="@dimen/status_bar_recents_app_icon_max_height"
@@ -75,7 +75,7 @@
android:layout_alignLeft="@id/app_thumbnail"
android:layout_below="@id/app_thumbnail"
android:layout_marginTop="@dimen/status_bar_recents_text_description_padding"
- android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin"
+ android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin"
android:singleLine="true"
android:ellipsize="marquee"
android:textColor="@color/status_bar_recents_app_label_color"
@@ -89,7 +89,7 @@
android:fadingEdge="horizontal"
android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length"
android:scrollHorizontally="true"
- android:layout_alignLeft="@id/app_thumbnail"
+ android:layout_alignStart="@id/app_thumbnail"
android:layout_below="@id/app_label"
android:layout_marginTop="@dimen/status_bar_recents_text_description_padding"
android:singleLine="true"
diff --git a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml b/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
index 8fdde92..e2d9d6e 100644
--- a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
+++ b/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
@@ -40,7 +40,7 @@
android:layout_height="match_parent"
android:fadingEdge="horizontal"
android:scrollbars="none"
- android:layout_gravity="right"
+ android:layout_gravity="end"
android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length">
<LinearLayout android:id="@+id/recents_linear_layout"
diff --git a/packages/SystemUI/res/layout-land/status_bar_search_panel.xml b/packages/SystemUI/res/layout-land/status_bar_search_panel.xml
index f56b03b..96b0a1f 100644
--- a/packages/SystemUI/res/layout-land/status_bar_search_panel.xml
+++ b/packages/SystemUI/res/layout-land/status_bar_search_panel.xml
@@ -44,7 +44,7 @@
android:layout_width="@dimen/navbar_search_panel_height"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
- android:gravity="left"
+ android:gravity="start"
prvandroid:targetDrawables="@array/navbar_search_targets"
prvandroid:targetDescriptions="@array/navbar_search_target_descriptions"