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

Commit b8d45c6a authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Make footer button tap target 48dp tall

Fixes: 198555200
Test: visually inspect layout bounds and run accessibility scanner
Change-Id: I42e9bcae0ef89daa4bfd75aeb5e8f13c8b6782c9
parent 6ea42dcf
Loading
Loading
Loading
Loading
+16 −15
Original line number Diff line number Diff line
@@ -14,19 +14,20 @@
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->


<shape xmlns:android="http://schemas.android.com/apk/res/android"
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    android:shape="rectangle">
    <solid
        android:color="?androidprv:attr/colorSurface"
        />
    android:color="?android:attr/colorControlHighlight">
    <item>
        <inset
            android:insetBottom="4dp"
            android:insetTop="4dp">
            <shape android:shape="rectangle">
                <corners android:radius="20dp" />

                <padding
                    android:left="20dp"
        android:right="20dp">
    </padding>

                    android:right="20dp" />
                <solid android:color="?androidprv:attr/colorSurface" />
            </shape>
        </inset>
    </item>
</ripple>
+4 −4
Original line number Diff line number Diff line
@@ -30,8 +30,8 @@
            style="@style/TextAppearance.NotificationSectionHeaderButton"
            android:id="@+id/manage_text"
            android:layout_width="wrap_content"
            android:layout_height="40dp"
            android:layout_marginTop="16dp"
            android:layout_height="48dp"
            android:layout_marginTop="12dp"
            android:layout_gravity="start"
            android:background="@drawable/notif_footer_btn_background"
            android:focusable="true"
@@ -43,8 +43,8 @@
            style="@style/TextAppearance.NotificationSectionHeaderButton"
            android:id="@+id/dismiss_text"
            android:layout_width="wrap_content"
            android:layout_height="40dp"
            android:layout_marginTop="16dp"
            android:layout_height="48dp"
            android:layout_marginTop="12dp"
            android:layout_gravity="end"
            android:background="@drawable/notif_footer_btn_background"
            android:focusable="true"