From c238f5195880b2018cfb2ad6e01cad8d425a210c Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Mon, 1 Apr 2013 14:17:56 -0700 Subject: 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 --- core/res/res/layout/select_dialog.xml | 3 ++- core/res/res/layout/select_dialog_holo.xml | 3 ++- 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 80d22f6..eb4d8d9 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 06a5d96..8a92283 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" /> -- cgit v1.1