Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2020-05-12 17:51:08 +0300
committerStefan Niedermann <info@niedermann.it>2020-05-12 17:51:08 +0300
commitd834989632569821211961e66eb534dfa0e790d9 (patch)
tree64feb6e0e1394b929b9e4092eb3153cae2a3e782 /app/src/main/res/layout
parenta106fef4e7904075070a2d24cd316c667def1101 (diff)
#217 SingleCardWidget
DueDate image
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/widget_single_card.xml28
1 files changed, 21 insertions, 7 deletions
diff --git a/app/src/main/res/layout/widget_single_card.xml b/app/src/main/res/layout/widget_single_card.xml
index 4e0ab369a..6f8dbecd3 100644
--- a/app/src/main/res/layout/widget_single_card.xml
+++ b/app/src/main/res/layout/widget_single_card.xml
@@ -23,15 +23,29 @@
tools:maxLength="200"
tools:text="@tools:sample/lorem/random" />
- <TextView
- android:id="@+id/card_due_date"
+ <LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:drawablePadding="@dimen/spacer_1hx"
- android:gravity="center"
- android:padding="@dimen/spacer_1hx"
- android:textColor="@color/widget_foreground"
- tools:text="tomorrow" />
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/card_due_date_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:contentDescription="@null"
+ tools:src="@drawable/calendar_blank_grey600_24dp" />
+
+ <TextView
+ android:id="@+id/card_due_date"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:drawablePadding="@dimen/spacer_1hx"
+ android:gravity="center"
+ android:padding="@dimen/spacer_1hx"
+ android:textColor="@color/widget_foreground"
+ tools:text="tomorrow" />
+ </LinearLayout>
</LinearLayout>
<LinearLayout