summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Graciela Wissen Putri <gracielawputri@google.com> 2024-09-26 10:34:26 +0000
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2024-10-02 01:56:48 +0000
commite1d1b662540e1443d31d24f2a460514b54e1a9b3 (patch)
tree902d0ef8021293ef7f62d88b73e9df17df71af0a
parent7ae924d049c6121d57150578d49eb814beb5b459 (diff)
Fix buttons not aligning to the right
Removing button style as it adds more padding than required. Adding linearLayout again for aligning buttons to the right Flag: EXEMPT bug fix Fix: 365536132 Test: m (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c9ad8145c15b363d1177491d7171f036428f7534) Merged-In: If65670e722b7e716ef2a28a871a3fe870453bf3e Change-Id: If65670e722b7e716ef2a28a871a3fe870453bf3e
-rw-r--r--libs/WindowManager/Shell/res/layout/letterbox_restart_dialog_layout.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/WindowManager/Shell/res/layout/letterbox_restart_dialog_layout.xml b/libs/WindowManager/Shell/res/layout/letterbox_restart_dialog_layout.xml
index 045b975a854e..462a49ccb1eb 100644
--- a/libs/WindowManager/Shell/res/layout/letterbox_restart_dialog_layout.xml
+++ b/libs/WindowManager/Shell/res/layout/letterbox_restart_dialog_layout.xml
@@ -99,11 +99,11 @@
</LinearLayout>
- <FrameLayout
+
+ <LinearLayout
android:minHeight="@dimen/letterbox_restart_dialog_button_height"
- android:layout_width="match_parent"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- style="?android:attr/buttonBarButtonStyle"
android:layout_gravity="end">
<Button
@@ -133,7 +133,7 @@
android:text="@string/letterbox_restart_restart"
android:contentDescription="@string/letterbox_restart_restart"/>
- </FrameLayout>
+ </LinearLayout>
</LinearLayout>