From dc67cdfcd1dfa3ab6c61867c9e2727f137ff8ea1 Mon Sep 17 00:00:00 2001 From: meikpiep Date: Mon, 23 Oct 2023 19:56:29 +0200 Subject: [PATCH] Fixes icon layout in load game activity --- .../src/main/res/drawable/hourglass_24.xml | 10 ++++++++ .../main/res/drawable/outline_timer_20.xml | 16 ------------- .../src/main/res/drawable/schedule_24.xml | 10 ++++++++ .../src/main/res/layout/view_savegame.xml | 23 +++++++++++-------- 4 files changed, 34 insertions(+), 25 deletions(-) create mode 100644 gauguin-app/src/main/res/drawable/hourglass_24.xml delete mode 100644 gauguin-app/src/main/res/drawable/outline_timer_20.xml create mode 100644 gauguin-app/src/main/res/drawable/schedule_24.xml diff --git a/gauguin-app/src/main/res/drawable/hourglass_24.xml b/gauguin-app/src/main/res/drawable/hourglass_24.xml new file mode 100644 index 00000000..006fd362 --- /dev/null +++ b/gauguin-app/src/main/res/drawable/hourglass_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/gauguin-app/src/main/res/drawable/outline_timer_20.xml b/gauguin-app/src/main/res/drawable/outline_timer_20.xml deleted file mode 100644 index f1f489aa..00000000 --- a/gauguin-app/src/main/res/drawable/outline_timer_20.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - diff --git a/gauguin-app/src/main/res/drawable/schedule_24.xml b/gauguin-app/src/main/res/drawable/schedule_24.xml new file mode 100644 index 00000000..67ef76ce --- /dev/null +++ b/gauguin-app/src/main/res/drawable/schedule_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/gauguin-app/src/main/res/layout/view_savegame.xml b/gauguin-app/src/main/res/layout/view_savegame.xml index 1da0d166..f2a036b0 100644 --- a/gauguin-app/src/main/res/layout/view_savegame.xml +++ b/gauguin-app/src/main/res/layout/view_savegame.xml @@ -12,8 +12,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="16dp" - > - + > + @@ -51,7 +49,6 @@ android:id="@+id/saveGameDuration" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="8dp" android:layout_marginStart="8dp" android:textAppearance="?attr/textAppearanceBody2" android:textColor="?android:attr/textColorSecondary" @@ -65,6 +62,7 @@ android:layout_height="20dp" android:layout_marginEnd="8dp" android:layout_marginBottom="8dp" + android:layout_marginTop="8dp" app:srcCompat="@drawable/outline_calendar_today_24" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/saveGameDurationIcon" @@ -74,7 +72,6 @@ android:id="@+id/saveDate" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="8dp" android:layout_marginStart="8dp" android:textAppearance="?attr/textAppearanceBody2" android:textColor="?android:attr/textColorSecondary" @@ -82,17 +79,25 @@ app:layout_constraintTop_toTopOf="@id/saveDateIcon" /> +