diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-05-12 17:51:08 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-05-12 17:51:08 +0300 |
commit | d834989632569821211961e66eb534dfa0e790d9 (patch) | |
tree | 64feb6e0e1394b929b9e4092eb3153cae2a3e782 /app/src/main/java/it/niedermann/nextcloud/deck/ui/widget | |
parent | a106fef4e7904075070a2d24cd316c667def1101 (diff) |
#217 SingleCardWidget
DueDate image
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/widget')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/singlecard/SingleCardWidget.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/singlecard/SingleCardWidget.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/singlecard/SingleCardWidget.java index b0e789865..1a143714e 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/singlecard/SingleCardWidget.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/singlecard/SingleCardWidget.java @@ -47,8 +47,11 @@ public class SingleCardWidget extends AppWidgetProvider { // https://stackoverflow.com/a/3376537 // Because otherwise using Reflection is the only way views.setViewVisibility(R.id.card_due_date, View.VISIBLE); + views.setViewVisibility(R.id.card_due_date_image, View.VISIBLE); + setImageDrawable(views, R.id.card_due_date_image, R.drawable.calendar_blank_grey600_24dp); } else { views.setViewVisibility(R.id.card_due_date, View.GONE); + views.setViewVisibility(R.id.card_due_date_image, View.GONE); } |