summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2019-06-11 15:04:40 -0400
committer Evan Laird <evanlaird@google.com> 2019-06-11 15:04:40 -0400
commitd3ed5dbe972a1e15df1c8b709800a72ace847451 (patch)
treebdf88b7f6e5a789f1cde3c7f22e5ed56d0331529
parent0e5378e61339117b1ee23cd96c27e9235a9521d3 (diff)
Set channel dialog switches to 48dp height
Makes them meet minimum touch target size requirements Test: whatever automated accessibility scanner filed the bug initially Fixes: 134894086 Change-Id: I524a044ff22e0e3cb23af69bf16fea57d918e1ee
-rw-r--r--packages/SystemUI/res/layout/notif_half_shelf.xml2
-rw-r--r--packages/SystemUI/res/layout/notif_half_shelf_row.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/res/layout/notif_half_shelf.xml b/packages/SystemUI/res/layout/notif_half_shelf.xml
index a563bb579540..26c887231349 100644
--- a/packages/SystemUI/res/layout/notif_half_shelf.xml
+++ b/packages/SystemUI/res/layout/notif_half_shelf.xml
@@ -69,7 +69,7 @@
<Switch
android:id="@+id/toggle"
- android:layout_height="wrap_content"
+ android:layout_height="48dp"
android:layout_width="wrap_content"
android:layout_gravity="center_vertical"
android:padding="8dp" />
diff --git a/packages/SystemUI/res/layout/notif_half_shelf_row.xml b/packages/SystemUI/res/layout/notif_half_shelf_row.xml
index 1b804556d146..b95d5e9a43f6 100644
--- a/packages/SystemUI/res/layout/notif_half_shelf_row.xml
+++ b/packages/SystemUI/res/layout/notif_half_shelf_row.xml
@@ -71,7 +71,7 @@
<Switch
android:id="@+id/toggle"
- android:layout_height="wrap_content"
+ android:layout_height="48dp"
android:layout_width="wrap_content"
android:layout_gravity="center_vertical"
android:padding="8dp"