blob: f036e6c3822cb8fe9c64157ab642546864341704 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:focusable="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:id="@+id/card_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="18sp"
tools:text="Card Title" />
<com.google.android.material.chip.ChipGroup
android:id="@+id/labels"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="8dp">
<ImageView
android:id="@+id/card_description_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
android:contentDescription="@string/label_card_description"
app:srcCompat="@drawable/ic_format_align_left_black_24dp" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/card_due_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="12dp"
android:layout_marginRight="12dp"
android:background="@drawable/due_tomorrow_background"
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:maxLines="1"
android:minLines="0"
android:padding="4dp"
app:drawableLeftCompat="@drawable/calendar_blank_grey600_24dp"
app:drawableStartCompat="@drawable/calendar_blank_grey600_24dp"
tools:text="in 16 days" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/card_count_attachments"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="12dp"
android:layout_marginRight="12dp"
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:maxLines="1"
android:minLines="0"
android:padding="4dp"
app:drawableLeftCompat="@drawable/ic_folder_grey600_24dp"
app:drawableStartCompat="@drawable/ic_folder_grey600_24dp"
tools:text="1" />
</LinearLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
|