From 0499287c672c76c95eb3eaa3b50c289ef5cfbde7 Mon Sep 17 00:00:00 2001 From: Sunny Shao Date: Tue, 9 Jul 2019 14:47:54 +0800 Subject: [PATCH] Fix RTL display problem in the account summary Add the android:textDirection into the summary text in the preference_app.xml Fixes: 130533247 Test: Manual View Change-Id: I0f1c223b6ab0f84a7190bf99cc921dc849e2e5b9 --- packages/SettingsLib/AppPreference/res/layout/preference_app.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SettingsLib/AppPreference/res/layout/preference_app.xml b/packages/SettingsLib/AppPreference/res/layout/preference_app.xml index dbc51958ae0b5..8c208e35a371b 100644 --- a/packages/SettingsLib/AppPreference/res/layout/preference_app.xml +++ b/packages/SettingsLib/AppPreference/res/layout/preference_app.xml @@ -61,6 +61,7 @@ android:id="@android:id/summary" android:layout_width="match_parent" android:layout_height="wrap_content" + android:textDirection="locale" android:textAppearance="?android:attr/textAppearanceSmall" android:textColor="?android:attr/textColorSecondary"/>