commit | f321940188607bc752488a3f424e0fd21465de3f | [log] [tgz] |
---|---|---|
author | mpodolian <mpodolian@google.com> | Wed Dec 11 09:33:51 2024 -0800 |
committer | mpodolian <mpodolian@google.com> | Wed Dec 11 09:33:51 2024 -0800 |
tree | 77a571e143a4ed84278ed93cb224bfd54f44edd4 | |
parent | 367616f2805821f75d2b63521db5080da363f9c9 [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
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 27e3b00..cef4f5f 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"