aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_flair.xml
blob: de10c3dd9877d7974aaa792ba7967e136a6795c3 (plain) (blame)
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:clickable="true"
    android:focusable="true"
    android:background="?attr/selectableItemBackground">

    <TextView
        android:id="@+id/flair_text_view_item_flair"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="16dp"
        android:textColor="?attr/primaryTextColor"
        android:textSize="?attr/font_default"
        android:fontFamily="?attr/font_family" />

    <ImageView
        android:id="@+id/edit_flair_image_view_item_flair"
        android:layout_width="24dp"
        android:layout_height="24dp"
        android:layout_gravity="center_vertical|end"
        android:layout_marginStart="32dp"
        android:src="@drawable/ic_edit_24dp"
        android:visibility="gone"
        app:tint="?attr/primaryTextColor"
        android:background="?actionBarItemBackground"
        android:clickable="true"
        android:focusable="true" />

</LinearLayout>