Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 801c5b1e authored by Charles Wang's avatar Charles Wang Committed by Automerger Merge Worker
Browse files

Merge "Fixing trimmed button text issue Screenshots at...

Merge "Fixing trimmed button text issue Screenshots at http://shortn/_CDfDuV4thn" into udc-qpr-dev am: 4b3c214f am: 1b0ffdcd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24573553



Change-Id: I283b34e255291300a0e079f2465d760fc9c69310
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 5b0a4131 1b0ffdcd
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -85,14 +85,18 @@
        android:layout_marginStart="24dp"
        android:layout_marginEnd="24dp"
        android:theme="@style/Theme.DeviceDefault.AutofillHalfScreenDialogButton"
        android:orientation="horizontal">
        android:orientation="horizontal"
        android:gravity="center_vertical">

        <Button
            android:id="@+id/autofill_dialog_no"
            android:layout_width="wrap_content"
            android:layout_height="36dp"
            android:layout_marginTop="6dp"
            android:layout_marginBottom="6dp"
            android:layout_height="40dp"
            android:paddingStart="12dp"
            android:paddingEnd="12dp"
            android:paddingTop="0dp"
            android:paddingBottom="0dp"
            android:minWidth="0dp"
            style="?android:attr/borderlessButtonStyle"
            android:text="@string/autofill_save_no">
        </Button>
@@ -107,9 +111,8 @@
        <Button
            android:id="@+id/autofill_dialog_yes"
            android:layout_width="wrap_content"
            android:layout_height="36dp"
            android:layout_marginTop="6dp"
            android:layout_marginBottom="6dp"
            android:layout_height="40dp"
            android:minWidth="0dp"
            style="@style/AutofillHalfSheetTonalButton"
            android:text="@string/autofill_save_yes"
            android:visibility="gone" >
+10 −7
Original line number Diff line number Diff line
@@ -72,14 +72,18 @@
            android:layout_marginTop="32dp"
            android:layout_marginBottom="18dp"
            android:theme="@style/Theme.DeviceDefault.AutofillHalfScreenDialogButton"
            android:orientation="horizontal">
            android:orientation="horizontal"
            android:gravity="center_vertical">

            <Button
                android:id="@+id/autofill_save_no"
                android:layout_width="wrap_content"
                android:layout_height="36dp"
                android:layout_marginTop="6dp"
                android:layout_marginBottom="6dp"
                android:layout_height="40dp"
                android:paddingStart="12dp"
                android:paddingEnd="12dp"
                android:paddingTop="0dp"
                android:paddingBottom="0dp"
                android:minWidth="0dp"
                style="?android:attr/borderlessButtonStyle"
                android:text="@string/autofill_save_no">
            </Button>
@@ -94,9 +98,8 @@
            <Button
                android:id="@+id/autofill_save_yes"
                android:layout_width="wrap_content"
                android:layout_height="36dp"
                android:layout_marginTop="6dp"
                android:layout_marginBottom="6dp"
                android:layout_height="40dp"
                android:minWidth="0dp"
                style="@style/AutofillHalfSheetTonalButton"
                android:text="@string/autofill_save_yes">
            </Button>
+2 −6
Original line number Diff line number Diff line
@@ -1500,12 +1500,8 @@ please see styles_device_defaults.xml.
        <item name="fontFamily">google-sans-text-medium</item>
        <item name="textStyle">normal</item>
        <item name="textAllCaps">false</item>
        <item name="layout_marginTop">6dp</item>
        <item name="layout_marginBottom">6dp</item>
        <item name="paddingStart">16dp</item>
        <item name="paddingEnd">16dp</item>
        <item name="paddingTop">8dp</item>
        <item name="paddingBottom">8dp</item>
        <item name="paddingStart">24dp</item>
        <item name="paddingEnd">24dp</item>
    </style>
    <!-- @hide Tonal button for Autofill half screen dialog -->
    <style name="AutofillHalfSheetTonalButton" parent="AutofillHalfSheetButton">