From 4d3c70e72191ed172fad317f0e3d80dcf6a3bb0e Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 22 Apr 2022 14:48:38 +0200 Subject: [PATCH] tweaking some paddings and text sizes --- app/src/main/res/layout/dialog_edit_alarm.xml | 14 +++++++------- app/src/main/res/layout/dialog_edit_timer.xml | 7 ++++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/app/src/main/res/layout/dialog_edit_alarm.xml b/app/src/main/res/layout/dialog_edit_alarm.xml index 3b7682fe..54b2f3c3 100644 --- a/app/src/main/res/layout/dialog_edit_alarm.xml +++ b/app/src/main/res/layout/dialog_edit_alarm.xml @@ -17,6 +17,7 @@ android:layout_marginStart="@dimen/activity_margin" android:layout_marginTop="@dimen/activity_margin" android:background="?attr/selectableItemBackground" + android:includeFontPadding="false" android:padding="@dimen/tiny_margin" android:textSize="@dimen/alarm_text_size" tools:text="07:00" /> @@ -25,12 +26,10 @@ android:id="@+id/edit_alarm_dayless_label" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_alignTop="@+id/edit_alarm_time" - android:layout_alignBottom="@+id/edit_alarm_time" + android:layout_alignBaseline="@+id/edit_alarm_time" android:layout_marginStart="@dimen/normal_margin" android:layout_toEndOf="@+id/edit_alarm_time" - android:gravity="center_vertical" - android:textSize="@dimen/bigger_text_size" + android:textSize="@dimen/big_text_size" tools:text="@string/tomorrow" /> + android:paddingBottom="@dimen/normal_margin" + android:textSize="@dimen/bigger_text_size"> + android:textSize="@dimen/bigger_text_size" /> diff --git a/app/src/main/res/layout/dialog_edit_timer.xml b/app/src/main/res/layout/dialog_edit_timer.xml index 2df53c79..39d748ae 100644 --- a/app/src/main/res/layout/dialog_edit_timer.xml +++ b/app/src/main/res/layout/dialog_edit_timer.xml @@ -50,7 +50,8 @@ android:clickable="false" android:layoutDirection="rtl" android:padding="@dimen/medium_margin" - android:text="@string/vibrate" /> + android:text="@string/vibrate" + android:textSize="@dimen/bigger_text_size" /> @@ -97,8 +98,8 @@ android:maxLines="1" android:singleLine="true" android:textCursorDrawable="@null" - android:textSize="@dimen/normal_text_size" /> - + android:textSize="@dimen/bigger_text_size" /> +