Set textDirection=locale and layoutDirection=locale for alert dialog
It's strongly recommended by internationalization team to set
android:textDirection="locale" and android:layoutDirection="locale" to
tackle a text that consists of RTL and LTR characters.
Bug: 279491415
Bug: 283608580
Bug: 283608637
Test: manual
Merged-In: I0dfa0da22e70d267d8d8ed8e9c5be3d6db107841
Change-Id: I0dfa0da22e70d267d8d8ed8e9c5be3d6db107841
(cherry picked from commit 219d4e6ca1
)
This commit is contained in:
@@ -132,6 +132,8 @@
|
||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||
<item name="android:clipToPadding">true</item>
|
||||
<item name="android:clipChildren">true</item>
|
||||
<item name="android:textDirection">locale</item>
|
||||
<item name="android:layoutDirection">locale</item>
|
||||
|
||||
<!-- Redefine the ActionBar style for contentInsetStart -->
|
||||
<item name="android:actionBarStyle">@style/Widget.ActionBar</item>
|
||||
|
Reference in New Issue
Block a user