summaryrefslogtreecommitdiffstats
path: root/res/layout/controls_preview.xml
blob: e85b53ca3ead3bbf7acf7f1d5b0d38133d91326c (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="264dp"
    android:layout_height="wrap_content"
    android:theme="@android:style/Theme.Material.Light">

    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <ImageView
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_marginEnd="37dp"
            android:src="@*android:drawable/btn_star_mtrl_alpha"
            android:tint="?*android:attr/colorControlNormal"/>

        <ImageView
            android:layout_width="47dp"
            android:layout_height="58dp"
            android:layout_gravity="center_vertical"
            android:src="@*android:drawable/text_select_handle_left_material"/>

        <ImageView
            android:layout_width="47dp"
            android:layout_height="58dp"
            android:layout_gravity="center_vertical"
            android:src="@*android:drawable/text_select_handle_right_material"/>

        <ImageView
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_marginStart="37dp"
            android:src="@*android:drawable/btn_star_mtrl_alpha"
            android:tint="?*android:attr/colorControlActivated"/>

    </LinearLayout>
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <Button
            android:layout_width="96dp"
            android:layout_height="30dp"
            android:layout_marginEnd="72dp"
            android:textSize="10dp"
            android:text="@string/controls_preview_button_text" />

        <Switch
            android:layout_width="96dp"
            android:layout_height="24dp"
            android:checked="true"/>

    </LinearLayout>

    <SeekBar
        android:layout_width="match_parent"
        android:layout_height="32dp"
        android:max="100"
        android:progress="50"
        android:layout_marginStart="-12dp"
        android:layout_marginEnd="-14dp"
        android:layout_gravity="center_horizontal"/>

    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">

        <ImageView
            android:layout_width="32dp"
            android:layout_height="32dp"
            android:layout_gravity="bottom"
            android:src="@*android:drawable/ic_checkbox_checked" />

        <ImageView
            android:layout_width="32dp"
            android:layout_height="32dp"
            android:layout_gravity="bottom"
            android:layout_marginEnd="44dp"
            android:src="@*android:drawable/ic_checkbox_checked" />

        <ProgressBar
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_marginEnd="44dp" />

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom"
            android:src="@*android:drawable/btn_radio_to_on_mtrl_000" />

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom"
            android:src="@*android:drawable/btn_radio_to_on_mtrl_015" />

    </LinearLayout>

</LinearLayout>