From a39640687745f5f6584d48dd8a185bfea0c890a9 Mon Sep 17 00:00:00 2001 From: "Daniele Verducci (Slimpenguin)" Date: Mon, 19 Feb 2024 08:26:55 +0100 Subject: [PATCH] Resolved warnings on main activity layout --- app/src/main/res/layout/activity_list_view.xml | 15 ++++++++++----- app/src/main/res/values-it/strings.xml | 5 +++++ app/src/main/res/values/strings.xml | 5 +++++ app/src/main/res/values/styles.xml | 1 - 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/activity_list_view.xml b/app/src/main/res/layout/activity_list_view.xml index b8c5766..94451c0 100644 --- a/app/src/main/res/layout/activity_list_view.xml +++ b/app/src/main/res/layout/activity_list_view.xml @@ -84,7 +84,8 @@ android:paddingEnd="@dimen/spacer_1x" android:paddingBottom="@dimen/spacer_2x" android:tint="@color/text_color" - android:src="@drawable/ic_menu_grey"/> + android:src="@drawable/ic_menu_grey" + android:contentDescription="@string/menu"/> + android:name="it.danieleverducci.nextcloudmaps.fragments.GeofavoriteListFragment" + tools:layout="@layout/fragment_geofavorite_list" /> @@ -124,7 +126,8 @@ app:backgroundTint="@color/defaultBrand" app:fabSize="mini" app:tint="@color/white" - tools:ignore="DuplicateClickableBoundsCheck" /> + tools:ignore="DuplicateClickableBoundsCheck" + android:contentDescription="@string/add_from_map" /> + app:tint="@color/white" + android:contentDescription="@string/add_from_gps"/> + app:tint="@color/white" + android:contentDescription="@string/open_fab"/> \ No newline at end of file diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index cff9a01..ddc7f34 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -97,4 +97,9 @@ Crea dalla posizione corrente Crea dalla mappa + + Aggiungi + Crea dalla posizione corrente + Crea dalla mappa + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9eee611..0590311 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -96,4 +96,9 @@ New from current position New from map + + Add geofavorite + Add geofavorite at current GPS position + Add geofavorite from map + Open menu diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index e5b3f1a..6893995 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -17,7 +17,6 @@ -