aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_flair.xml
blob: d6b0c239820f024a6e5aa01ffa2fef45239177e4 (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_24dp"
        android:visibility="gone"
        app:tint="?attr/primaryTextColor"
        android:background="?actionBarItemBackground"
        android:clickable="true"
        android:focusable="true" />

</LinearLayout>