summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2020-06-09 16:13:39 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-06-09 16:13:39 +0000
commit1567a8847c132c50ac3f779a748367166694f49c (patch)
treeedcd496f3088a084755d1534a3aae82e6ed9189a
parent3c987ead3babc995202c97773f3c9fe409869a18 (diff)
parent5e6ee543615876e4b469ba87c2894e7967f9781c (diff)
Merge "Sharesheet - Preview text RTL fix" into rvc-dev
-rw-r--r--core/res/res/layout/chooser_grid_preview_text.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/res/res/layout/chooser_grid_preview_text.xml b/core/res/res/layout/chooser_grid_preview_text.xml
index 002917463ab3..1d18648b9ef7 100644
--- a/core/res/res/layout/chooser_grid_preview_text.xml
+++ b/core/res/res/layout/chooser_grid_preview_text.xml
@@ -44,6 +44,8 @@
android:ellipsize="end"
android:fontFamily="@android:string/config_headlineFontFamily"
android:textColor="?android:attr/textColorPrimary"
+ android:textAlignment="gravity"
+ android:textDirection="locale"
android:maxLines="2"
android:focusable="true"/>
@@ -90,6 +92,8 @@
android:layout_gravity="center_vertical"
android:ellipsize="end"
android:maxLines="2"
+ android:textAlignment="gravity"
+ android:textDirection="locale"
android:textAppearance="@style/TextAppearance.DeviceDefault.WindowTitle"
android:fontFamily="@android:string/config_headlineFontFamily"/>
</LinearLayout>