forked from stratumauth/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
listItemIcon.axml
29 lines (26 loc) · 977 Bytes
/
listItemIcon.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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:background="?selectableItemBackground"
android:padding="6dp"
android:layout_marginBottom="4dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:focusable="true">
<ImageView
android:id="@+id/imageIcon"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_weight="0"
android:layout_marginEnd="16dp"/>
<com.google.android.material.textview.MaterialTextView
android:id="@+id/textName"
android:layout_width="match_parent"
android:layout_height="28dp"
android:singleLine="true"
android:textAppearance="?attr/textAppearanceSubtitle2"
android:gravity="center_vertical"
android:layout_weight="1"/>
</LinearLayout>