aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_award.xml
blob: baf4052d42032f9c654c895804d5c9e4e15e665f (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
38
39
40
41
42
43
44
45
46
47
48
<?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"
    android:padding="16dp"
    android:clickable="true"
    android:focusable="true"
    android:background="?attr/selectableItemBackground">

    <pl.droidsonroids.gif.GifImageView
        android:id="@+id/icon_image_view_item_award"
        android:layout_width="40dp"
        android:layout_height="40dp"
        android:layout_gravity="center_vertical" />

    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:orientation="vertical"
        android:layout_gravity="center_vertical"
        android:layout_marginStart="16dp"
        android:layout_marginEnd="16dp">

        <TextView
            android:id="@+id/name_text_view_item_award"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="?attr/font_12"
            android:fontFamily="?attr/font_family" />

        <TextView
            android:id="@+id/description_text_view_item_award"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="?attr/font_default"
            android:fontFamily="?attr/font_family" />

    </LinearLayout>

    <TextView
        android:id="@+id/coin_text_view_item_award"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical" />

</LinearLayout>