summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fabrice Di Meglio <fdimeglio@google.com> 2013-04-01 14:17:56 -0700
committer Fabrice Di Meglio <fdimeglio@google.com> 2013-04-01 14:17:56 -0700
commitc238f5195880b2018cfb2ad6e01cad8d425a210c (patch)
tree46103bdfe2f048dd34ee45821eda7d29b0df9331
parentdac3fd9d90daffb4f6b08c788184ff38523348ba (diff)
Fix AlertDialog in RTL mode
- the list view need to define textAlignment to "viewStart" so that the list view items will inherit it. Change-Id: Ib8cd75f28dcaf8a1afb22dd595490afa8e24d25f
-rw-r--r--core/res/res/layout/select_dialog.xml3
-rw-r--r--core/res/res/layout/select_dialog_holo.xml3
2 files changed, 4 insertions, 2 deletions
diff --git a/core/res/res/layout/select_dialog.xml b/core/res/res/layout/select_dialog.xml
index 80d22f61d3fb..eb4d8d9a70ed 100644
--- a/core/res/res/layout/select_dialog.xml
+++ b/core/res/res/layout/select_dialog.xml
@@ -32,4 +32,5 @@
android:cacheColorHint="@null"
android:divider="?android:attr/listDividerAlertDialog"
android:scrollbars="vertical"
- android:overScrollMode="ifContentScrolls" />
+ android:overScrollMode="ifContentScrolls"
+ android:textAlignment="viewStart" />
diff --git a/core/res/res/layout/select_dialog_holo.xml b/core/res/res/layout/select_dialog_holo.xml
index 06a5d965ffec..8a92283e792c 100644
--- a/core/res/res/layout/select_dialog_holo.xml
+++ b/core/res/res/layout/select_dialog_holo.xml
@@ -30,4 +30,5 @@
android:cacheColorHint="@null"
android:divider="?android:attr/listDividerAlertDialog"
android:scrollbars="vertical"
- android:overScrollMode="ifContentScrolls" />
+ android:overScrollMode="ifContentScrolls"
+ android:textAlignment="viewStart" />