aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_flair.xml
blob: 30bfe10e5a50ce585e8129753cd6746a4511b914 (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
33
34
35
36
37
<?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="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:paddingTop="16dp"
        android:paddingBottom="16dp"
        android:paddingStart="32dp"
        android:paddingEnd="32dp"
        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="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical|end"
        android:paddingStart="32dp"
        android:paddingEnd="32dp"
        android:src="@drawable/ic_edit_day_night_24dp"
        android:visibility="gone"
        app:tint="?attr/primaryTextColor"
        android:background="?actionBarItemBackground"
        android:clickable="true"
        android:focusable="true" />

</LinearLayout>