aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/detail_list_preference.xml
blob: 2a5ff13ced99cc1b3e0b6e10e05b690ef34ec376 (plain)
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
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:background="@color/white"
    android:paddingLeft="@dimen/dlp_padding_start"
    android:paddingStart="@dimen/dlp_padding_start"
    android:paddingRight="@dimen/dlp_padding_end"
    android:paddingEnd="@dimen/dlp_padding_end"
    android:paddingTop="@dimen/dlp_padding_top"
    android:paddingBottom="@dimen/dlp_padding_bottom">

    <RadioButton
        android:buttonTint="@color/dialog_compound_button"
        android:id="@+id/radio"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        tools:targetApi="LOLLIPOP"/>

    <LinearLayout
        android:id="@+id/text_container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_marginLeft="@dimen/dlp_text_margin_start"
        android:layout_marginStart="@dimen/dlp_text_margin_start"
        android:layout_marginRight="@dimen/dlp_text_margin_end"
        android:layout_marginEnd="@dimen/dlp_text_margin_end"
        android:layout_centerInParent="true"
        android:layout_toRightOf="@id/radio">

        <TextView
            android:id="@+id/main_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textSize="@dimen/text_sz_large"
            android:textColor="@color/grey_dark"
            android:gravity="left"
            tools:text="Main Text" />

        <TextView
            android:id="@+id/detail_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textSize="@dimen/text_sz_small"
            android:textColor="@color/grey_darken_10"
            android:gravity="left"
            tools:text="Detail Text" />

    </LinearLayout>

</RelativeLayout>