forked from stratumauth/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
listItemIconPack.axml
60 lines (54 loc) · 2.46 KB
/
listItemIconPack.axml
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
<?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"
style="?attr/cardStyle"
android:focusable="true"
android:clickable="true"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingTop="16dp"
android:paddingBottom="12dp"
android:paddingStart="16dp"
android:paddingEnd="16dp">
<com.google.android.material.textview.MaterialTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?attr/textAppearanceSubtitle1"
android:singleLine="true"
android:ellipsize="start"
android:scrollHorizontally="true"
android:layout_marginBottom="6dp"
android:id="@+id/textName"/>
<com.google.android.material.textview.MaterialTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="12dp"
android:textAppearance="?attr/textAppearanceBody2"
android:id="@+id/textDescription"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.button.MaterialButton
android:id="@+id/buttonViewSource"
style="@style/Widget.Material3.Button.Icon"
app:icon="@drawable/baseline_open_in_new_24"
android:layout_marginEnd="10dp"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/viewSource"/>
<com.google.android.material.button.MaterialButton
android:id="@+id/buttonDelete"
style="@style/Widget.Material3.Button.TextButton"
app:icon="@drawable/baseline_delete_24"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/delete"/>
</LinearLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>