From b7f61846e3f67ad7d04d51ace20e43f1530b621a Mon Sep 17 00:00:00 2001 From: "Daniele Verducci (Slimpenguin)" Date: Mon, 17 Jan 2022 08:19:00 +0100 Subject: [PATCH] Fixed drawable tinting bug in geofavs list --- .../activity/main/GeofavoriteAdapter.java | 17 +++++++++++------ .../nextcloudmaps/model/Geofavorite.java | 2 +- app/src/main/res/drawable/ic_list_pin.xml | 2 +- app/src/main/res/layout/item_geofav.xml | 3 ++- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/it/danieleverducci/nextcloudmaps/activity/main/GeofavoriteAdapter.java b/app/src/main/java/it/danieleverducci/nextcloudmaps/activity/main/GeofavoriteAdapter.java index 3a32db3..4cd3a1f 100644 --- a/app/src/main/java/it/danieleverducci/nextcloudmaps/activity/main/GeofavoriteAdapter.java +++ b/app/src/main/java/it/danieleverducci/nextcloudmaps/activity/main/GeofavoriteAdapter.java @@ -109,7 +109,7 @@ public class GeofavoriteAdapter extends RecyclerView.Adapter diff --git a/app/src/main/res/layout/item_geofav.xml b/app/src/main/res/layout/item_geofav.xml index 0c2e197..0e9e5c2 100644 --- a/app/src/main/res/layout/item_geofav.xml +++ b/app/src/main/res/layout/item_geofav.xml @@ -38,7 +38,8 @@ android:paddingTop="5dp" android:textSize="28dp" android:textAllCaps="true" - android:textColor="@color/white"/> + android:textColor="@color/white" + app:drawableTint="@color/defaultBrand" />