Set preference summary textAlignment
- Explicitly set textAlignment so that multiline summaries with line
breaks are displayed correctly on RTL layouts
Change-Id: I0567f005a970edacebda45f836b4171080c38dfb
Fixes: 68156636
Test: Manual
(cherry picked from commit 6af1ab48207bfaab4b583b4086399f7564a6a419)
diff --git a/v14/preference/res/layout-v21/preference_material.xml b/v14/preference/res/layout-v21/preference_material.xml
index da6b69f..ac3be2c 100644
--- a/v14/preference/res/layout-v21/preference_material.xml
+++ b/v14/preference/res/layout-v21/preference_material.xml
@@ -66,6 +66,7 @@
android:layout_below="@android:id/title"
android:layout_alignStart="@android:id/title"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
+ android:textAlignment="viewStart"
android:textColor="?android:attr/textColorSecondary"
android:maxLines="10" />