Make footer button tap target 48dp tall
Fixes: 198555200 Test: visually inspect layout bounds and run accessibility scanner Change-Id: I42e9bcae0ef89daa4bfd75aeb5e8f13c8b6782c9
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
<corners android:radius="20dp" />
|
||||
|
||||
<padding
|
||||
android:left="20dp"
|
||||
android:right="20dp">
|
||||
</padding>
|
||||
|
||||
</shape>
|
||||
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" />
|
||||
<solid android:color="?androidprv:attr/colorSurface" />
|
||||
</shape>
|
||||
</inset>
|
||||
</item>
|
||||
</ripple>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user