forked from stratumauth/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlistItemIconPack.axml
61 lines (55 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
61
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView
xmlns:android="http://schemas.android.com/apk/res/android"
style="?attr/materialCardViewElevatedStyle"
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="16dp"
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">
<ImageButton
android:id="@+id/buttonDelete"
android:src="@drawable/baseline_delete_24"
android:tint="?attr/colorOnSurface"
android:scaleType="centerInside"
android:background="?selectableItemBackgroundBorderless"
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_marginEnd="12dp"/>
<ImageButton
android:id="@+id/buttonOpenUrl"
android:src="@drawable/baseline_open_in_new_24"
android:tint="?attr/colorOnSurface"
android:scaleType="centerInside"
android:background="?selectableItemBackgroundBorderless"
android:layout_width="22dp"
android:layout_height="22dp"/>
</LinearLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>