From df21e5835f3ee316148b217d4ea08e63a204ee7e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste <87148630+Jean-BaptisteC@users.noreply.github.com> Date: Tue, 26 Mar 2024 21:17:42 +0100 Subject: [PATCH] Improve welcome activity (#24) --- app/src/main/res/layout/welcome_activity.xml | 6 +++--- app/src/main/res/values/dimens.xml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/welcome_activity.xml b/app/src/main/res/layout/welcome_activity.xml index 1638869..c89199f 100644 --- a/app/src/main/res/layout/welcome_activity.xml +++ b/app/src/main/res/layout/welcome_activity.xml @@ -17,7 +17,7 @@ android:layout_width="match_parent" android:layout_height="@dimen/dots_height" android:layout_alignParentBottom="true" - android:layout_marginBottom="@dimen/dots_margin_bottom" + android:layout_marginBottom="20dp" android:gravity="center" android:orientation="horizontal"> @@ -27,7 +27,7 @@ android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:layout_alignParentBottom="true" - android:layout_marginBottom="@dimen/dots_margin_bottom" + android:layout_marginBottom="@dimen/button_margin_bottom" android:background="@null" android:text="@string/next" android:textColor="@android:color/white" @@ -39,7 +39,7 @@ android:layout_height="wrap_content" android:layout_alignParentStart="true" android:layout_alignParentBottom="true" - android:layout_marginBottom="@dimen/dots_margin_bottom" + android:layout_marginBottom="@dimen/button_margin_bottom" android:background="@null" android:text="@string/skip" android:textColor="@android:color/white" /> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index d10a8ea..b11cd19 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -10,6 +10,7 @@ 75dp 20dp + 25dp 240dp 30sp 16sp