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

Commit 840ff4ae authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "End-align alert dialog buttons to avoid layout bug on tablet"

parents db2ed8fd 6c60c0fa
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -89,10 +89,11 @@
        android:layout_height="wrap_content"
        android:minHeight="@dimen/alert_dialog_button_bar_height"
        android:orientation="vertical"
        android:gravity="end"
        android:padding="16dip">
        <LinearLayout
            style="?android:attr/buttonBarStyle"
            android:layout_width="match_parent"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layoutDirection="locale">
            <Button android:id="@+id/button3"
@@ -102,11 +103,6 @@
                android:layout_marginRight="8dip"
                android:maxLines="2"
                android:minHeight="@dimen/alert_dialog_button_bar_height" />
            <View
                android:layout_width="0dp"
                android:layout_height="@dimen/alert_dialog_button_bar_height"
                android:layout_weight="1"
                android:visibility="invisible" />
            <Button android:id="@+id/button2"
                style="?android:attr/buttonBarButtonStyle"
                android:layout_width="wrap_content"
+0 −1
Original line number Diff line number Diff line
@@ -364,7 +364,6 @@ please see styles_device_defaults.xml.
        <item name="textColor">?attr/textColorPrimary</item>
        <item name="minHeight">48dip</item>
        <item name="minWidth">96dip</item>
        <item name="elevation">2dip</item>
        <item name="stateListAnimator">@anim/button_state_list_anim_quantum</item>
    </style>