From d96ecd205ad09cdb5fad7a98ff1b28b5b8c2b1f1 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Mon, 6 Apr 2020 11:16:47 -0500 Subject: [PATCH] Reduce shortcut text size and spacing --- app/src/main/res/layout/date_time_picker_shortcuts.xml | 8 ++++---- app/src/main/res/values/dimens.xml | 1 + app/src/main/res/values/styles.xml | 5 ++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/main/res/layout/date_time_picker_shortcuts.xml b/app/src/main/res/layout/date_time_picker_shortcuts.xml index f9dc579d4..40334b84f 100644 --- a/app/src/main/res/layout/date_time_picker_shortcuts.xml +++ b/app/src/main/res/layout/date_time_picker_shortcuts.xml @@ -8,8 +8,8 @@ android:id="@+id/date_group" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginTop="16dp" - android:layout_marginBottom="16dp" + android:layout_marginTop="@dimen/half_keyline_first" + android:layout_marginBottom="@dimen/half_keyline_first" android:orientation="vertical" app:layout_constraintStart_toStartOf="parent" app:layout_constraintRight_toLeftOf="@id/guideline" @@ -83,8 +83,8 @@ android:id="@+id/time_group" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginTop="16dp" - android:layout_marginBottom="16dp" + android:layout_marginTop="@dimen/half_keyline_first" + android:layout_marginBottom="@dimen/half_keyline_first" android:orientation="vertical" app:layout_constraintLeft_toRightOf="@id/guideline" app:layout_constraintEnd_toEndOf="parent" diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index bd7b524cc..934c6a71d 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -2,6 +2,7 @@ 260dp 8dp + 4dp 16dp 32dp 72dp diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index f6033c899..d57019c38 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -94,9 +94,8 @@