Project

General

Profile

Download (6.53 KB) Statistics
| Branch: | Revision:

examples / src / main / res / layout / triblurlayout.xml @ f1b8b412

1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="fill_parent"
4
    android:layout_height="fill_parent"
5
    android:orientation="vertical" >
6

    
7
    <org.distorted.examples.triblur.TriblurSurfaceView
8
        android:id="@+id/triblurSurfaceView"
9
        android:layout_width="fill_parent"
10
        android:layout_height="0dp"
11
        android:layout_weight="1" />
12

    
13
    <LinearLayout
14
        android:orientation="horizontal"
15
        android:background="@color/red"
16
        android:layout_width="match_parent"
17
        android:layout_height="50dp"
18
        android:paddingBottom="10dp"
19
        android:paddingTop="10dp">
20

    
21
        <CheckBox
22
            android:layout_height="fill_parent"
23
            android:layout_width="wrap_content"
24
            android:id="@+id/triblurCheckBox0"
25
            android:paddingLeft="10dp"
26
            android:onClick="onClick"
27
            android:checked="true"/>
28

    
29
        <SeekBar
30
            android:id="@+id/triblurSeek0"
31
            android:layout_height="fill_parent"
32
            android:layout_width="fill_parent"
33
            android:paddingLeft="10dp"
34
            android:paddingRight="10dp" />
35
    </LinearLayout>
36

    
37
    <LinearLayout
38
        android:orientation="horizontal"
39
        android:background="@color/yellow"
40
        android:layout_width="match_parent"
41
        android:layout_height="50dp"
42
        android:paddingBottom="10dp"
43
        android:paddingTop="10dp">
44

    
45
        <CheckBox
46
            android:layout_height="fill_parent"
47
            android:layout_width="wrap_content"
48
            android:id="@+id/triblurCheckBox1"
49
            android:paddingLeft="10dp"
50
            android:onClick="onClick"
51
            android:checked="true"/>
52

    
53
        <SeekBar
54
            android:id="@+id/triblurSeek1"
55
            android:layout_height="fill_parent"
56
            android:layout_width="fill_parent"
57
            android:paddingLeft="10dp"
58
            android:paddingRight="10dp" />
59
    </LinearLayout>
60

    
61
    <LinearLayout
62
        android:orientation="horizontal"
63
        android:background="@color/green"
64
        android:layout_width="match_parent"
65
        android:layout_height="50dp"
66
        android:paddingBottom="10dp"
67
        android:paddingTop="10dp">
68

    
69
        <CheckBox
70
            android:layout_height="fill_parent"
71
            android:layout_width="wrap_content"
72
            android:id="@+id/triblurCheckBox2"
73
            android:paddingLeft="10dp"
74
            android:onClick="onClick"
75
            android:checked="true"/>
76

    
77
        <SeekBar
78
            android:id="@+id/triblurSeek2"
79
            android:layout_height="fill_parent"
80
            android:layout_width="fill_parent"
81
            android:paddingLeft="10dp"
82
            android:paddingRight="10dp" />
83
    </LinearLayout>
84

    
85
    <LinearLayout
86
        android:id="@+id/linearLayout2"
87
        android:layout_width="fill_parent"
88
        android:layout_height="wrap_content"
89
        android:gravity="center|fill_horizontal"
90
        android:orientation="horizontal"
91
        android:background="@color/cyan"
92
        android:paddingBottom="10dp"
93
        android:paddingTop="10dp" >
94

    
95
        <RadioGroup
96
            android:id="@+id/triblurRadioBackground"
97
            android:layout_width="match_parent"
98
            android:layout_height="wrap_content"
99
            android:orientation="horizontal">
100

    
101
            <RadioButton
102
                android:id="@+id/triblurRadioBackground0"
103
                android:layout_width="match_parent"
104
                android:layout_height="wrap_content"
105
                android:layout_weight="1"
106
                android:onClick="backgroundColor"
107
                android:text="@string/color_black"
108
                android:textSize="16sp"/>
109

    
110
            <RadioButton
111
                android:id="@+id/triblurRadioBackground1"
112
                android:layout_width="match_parent"
113
                android:layout_height="wrap_content"
114
                android:layout_weight="1"
115
                android:checked="true"
116
                android:onClick="backgroundColor"
117
                android:text="@string/color_white"
118
                android:textSize="16sp"/>
119

    
120
            <RadioButton
121
                android:id="@+id/triblurRadioBackground2"
122
                android:layout_width="match_parent"
123
                android:layout_height="wrap_content"
124
                android:layout_weight="1"
125
                android:onClick="backgroundColor"
126
                android:text="@string/color_blue"
127
                android:textSize="16sp"/>
128

    
129
        </RadioGroup>
130

    
131
    </LinearLayout>
132

    
133
    <LinearLayout
134
        android:id="@+id/linearLayout3"
135
        android:layout_width="fill_parent"
136
        android:layout_height="wrap_content"
137
        android:gravity="center|fill_horizontal"
138
        android:orientation="horizontal"
139
        android:background="@color/blue"
140
        android:paddingBottom="10dp"
141
        android:paddingTop="10dp" >
142

    
143
        <RadioGroup
144
            android:id="@+id/triblurRadioGroup"
145
            android:layout_width="match_parent"
146
            android:layout_height="wrap_content"
147
            android:orientation="horizontal">
148

    
149
            <RadioButton
150
                android:id="@+id/triblurRadioQuality0"
151
                android:layout_width="match_parent"
152
                android:layout_height="wrap_content"
153
                android:layout_weight="1"
154
                android:onClick="quality"
155
                android:text="@string/quality0"
156
                android:textSize="14sp"/>
157

    
158
            <RadioButton
159
                android:id="@+id/triblurRadioQuality1"
160
                android:layout_width="match_parent"
161
                android:layout_height="wrap_content"
162
                android:layout_weight="1"
163
                android:checked="true"
164
                android:onClick="quality"
165
                android:text="@string/quality1"
166
                android:textSize="14sp"/>
167

    
168
            <RadioButton
169
                android:id="@+id/triblurRadioQuality2"
170
                android:layout_width="match_parent"
171
                android:layout_height="wrap_content"
172
                android:layout_weight="1"
173
                android:onClick="quality"
174
                android:text="@string/quality2"
175
                android:textSize="14sp"/>
176

    
177
            <RadioButton
178
                android:id="@+id/triblurRadioQuality3"
179
                android:layout_width="match_parent"
180
                android:layout_height="wrap_content"
181
                android:layout_weight="1"
182
                android:onClick="quality"
183
                android:text="@string/quality3"
184
                android:textSize="14sp"/>
185

    
186
        </RadioGroup>
187

    
188
    </LinearLayout>
189

    
190
</LinearLayout>
(33-33/34)