summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author mpodolian <mpodolian@google.com> 2024-12-11 09:33:51 -0800
committer mpodolian <mpodolian@google.com> 2024-12-11 09:33:51 -0800
commitf321940188607bc752488a3f424e0fd21465de3f (patch)
tree77a571e143a4ed84278ed93cb224bfd54f44edd4
parent367616f2805821f75d2b63521db5080da363f9c9 (diff)
Made title text follows RTL setting.
Added the required attribute to the XML file for the menu header, ensuring the text aligns with the left-to-right setting. Fixes: 380318199 Flag: com.android.wm.shell.enable_bubble_bar Test: Manual. RTL off: https://screenshot.googleplex.com/A9tBXxis2Z4iuwN RTL on: https://screenshot.googleplex.com/3oZWURczRmA9q2c Change-Id: I2d60bb6e7ddb5504af0ca82fe362f3505dd8d80b
-rw-r--r--libs/WindowManager/Shell/res/layout/bubble_bar_menu_view.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/WindowManager/Shell/res/layout/bubble_bar_menu_view.xml b/libs/WindowManager/Shell/res/layout/bubble_bar_menu_view.xml
index 27e3b006b961..cef4f5f960c2 100644
--- a/libs/WindowManager/Shell/res/layout/bubble_bar_menu_view.xml
+++ b/libs/WindowManager/Shell/res/layout/bubble_bar_menu_view.xml
@@ -51,7 +51,8 @@
android:layout_marginStart="8dp"
android:layout_weight="1"
android:textColor="@androidprv:color/materialColorOnSurface"
- android:textAppearance="@*android:style/TextAppearance.DeviceDefault" />
+ android:textAppearance="@*android:style/TextAppearance.DeviceDefault"
+ android:textDirection="locale" />
<ImageView
android:id="@+id/bubble_bar_manage_menu_dismiss_icon"