From 219d4e6ca16cd751fd876e8ce77491defdcd62ff Mon Sep 17 00:00:00 2001 From: Chun-Ku Lin Date: Mon, 22 May 2023 21:19:05 +0000 Subject: [PATCH] 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 Test: manual Change-Id: I0dfa0da22e70d267d8d8ed8e9c5be3d6db107841 --- res/values/themes.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/res/values/themes.xml b/res/values/themes.xml index 8f132799b79..5cf453231e6 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -132,6 +132,8 @@ adjustResize true true + locale + locale @style/Widget.ActionBar