Add a vertical padding to DND button

Button is too close to divider

Test: visual, robotest
Fixes: 134406305
Change-Id: I1c2d8d2fad78ea3068a61b8aaa1c255328cf084f
This commit is contained in:
Jason Chiu
2019-07-16 13:49:35 +08:00
parent 2e9c4c4978
commit 71e9f9147a
2 changed files with 3 additions and 1 deletions

View File

@@ -18,7 +18,8 @@
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content"
android:paddingVertical="@dimen/zen_mode_button_padding_vertical">
<Button <Button
android:id="@+id/zen_mode_settings_turn_on_button" android:id="@+id/zen_mode_settings_turn_on_button"

View File

@@ -81,6 +81,7 @@
<dimen name="notification_importance_button_text">16sp</dimen> <dimen name="notification_importance_button_text">16sp</dimen>
<dimen name="notification_importance_button_padding">14dp</dimen> <dimen name="notification_importance_button_padding">14dp</dimen>
<dimen name="zen_mode_button_padding_vertical">16dp</dimen>
<dimen name="zen_schedule_rule_checkbox_padding">7dp</dimen> <dimen name="zen_schedule_rule_checkbox_padding">7dp</dimen>
<dimen name="zen_schedule_day_margin">17dp</dimen> <dimen name="zen_schedule_day_margin">17dp</dimen>