aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_translation_contributor.xml
blob: 08754b94f319f08d22ea856c64f46f2a951c1690 (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
<?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">

    <ImageView
        android:id="@+id/country_flag_image_view_item_translation_contributor"
        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/language_name_text_view_item_translation_contributor"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="?attr/font_16"
            android:fontFamily="?attr/font_family" />

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

    </LinearLayout>

</LinearLayout>