diff options
| author | 2020-06-09 10:00:27 -0400 | |
|---|---|---|
| committer | 2020-06-09 10:00:27 -0400 | |
| commit | 5e6ee543615876e4b469ba87c2894e7967f9781c (patch) | |
| tree | 60b745fa7d722c98f9b4f9a49f336290c76c3f7c | |
| parent | 018d5b2959af7fcbf0d4b9a10cbb1b1e5a4e3fde (diff) | |
Sharesheet - Preview text RTL fix
Make sure preview text and title obey RTL
Fixes: 156969383
Test: force RTL layout
Change-Id: I458a8e2f7a263e46162f9687da987b2e7c43df53
| -rw-r--r-- | core/res/res/layout/chooser_grid_preview_text.xml | 4 |
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> |