Project

General

Profile

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

examples / src / main / res / layout / multiblurlayout.xml @ bf0bc90f

1 3e673c74 Leszek Koltunski
<?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.multiblur.MultiblurSurfaceView
8
        android:id="@+id/multiblurSurfaceView"
9
        android:layout_width="fill_parent"
10
        android:layout_height="0dp"
11
        android:layout_weight="1" />
12
13
    <LinearLayout
14
        android:id="@+id/linearLayout1"
15
        android:layout_width="fill_parent"
16
        android:layout_height="wrap_content"
17
        android:gravity="center|fill_horizontal"
18 febb61ba Leszek Koltunski
        android:orientation="vertical"
19
        android:background="@color/blue"
20 3e673c74 Leszek Koltunski
        android:paddingBottom="10dp"
21
        android:paddingTop="10dp" >
22
23
        <SeekBar
24 fc6f1299 Leszek Koltunski
            android:id="@+id/multiblurDistanceSeek"
25 3e673c74 Leszek Koltunski
            android:layout_weight="1"
26 febb61ba Leszek Koltunski
            android:layout_width="fill_parent"
27
            android:layout_height="0dp"
28 fc6f1299 Leszek Koltunski
            android:paddingLeft="10dp"
29
            android:paddingRight="10dp" />
30
31 febb61ba Leszek Koltunski
    </LinearLayout>
32
33
    <LinearLayout
34
        android:id="@+id/linearLayout2"
35
        android:layout_width="fill_parent"
36
        android:layout_height="wrap_content"
37
        android:gravity="center|fill_horizontal"
38
        android:orientation="vertical"
39
        android:background="@color/red"
40
        android:paddingBottom="10dp"
41
        android:paddingTop="10dp" >
42
43 fc6f1299 Leszek Koltunski
        <SeekBar
44
            android:id="@+id/multiblurRangeSeek"
45
            android:layout_weight="1"
46 febb61ba Leszek Koltunski
            android:layout_width="fill_parent"
47
            android:layout_height="0dp"
48 fc6f1299 Leszek Koltunski
            android:paddingLeft="10dp"
49 3e673c74 Leszek Koltunski
            android:paddingRight="10dp" />
50
51 febb61ba Leszek Koltunski
        <LinearLayout
52
            android:orientation="horizontal"
53
            android:layout_width="match_parent"
54
            android:layout_height="0dp"
55
            android:layout_weight="1">
56
57
            <CheckBox
58
                android:layout_width="wrap_content"
59
                android:layout_height="match_parent"
60
                android:id="@+id/multiblurCheckBox0"
61
                android:onClick="onClick"
62
                android:layout_weight="1"
63
                android:checked="true"/>
64
            <CheckBox
65
                android:layout_width="wrap_content"
66
                android:layout_height="match_parent"
67
                android:id="@+id/multiblurCheckBox1"
68
                android:onClick="onClick"
69
                android:layout_weight="1"
70
                android:checked="false"/>
71
            <CheckBox
72
                android:layout_width="wrap_content"
73
                android:layout_height="match_parent"
74
                android:id="@+id/multiblurCheckBox2"
75
                android:onClick="onClick"
76
                android:layout_weight="1"
77
                android:checked="false"/>
78
            <CheckBox
79
                android:layout_width="wrap_content"
80
                android:layout_height="match_parent"
81
                android:id="@+id/multiblurCheckBox3"
82
                android:onClick="onClick"
83
                android:layout_weight="1"
84
                android:checked="false"/>
85 bf0bc90f Leszek Koltunski
            <CheckBox
86
                android:layout_width="wrap_content"
87
                android:layout_height="match_parent"
88
                android:id="@+id/multiblurCheckBox4"
89
                android:onClick="onClick"
90
                android:layout_weight="1"
91
                android:checked="false"/>
92
            <CheckBox
93
                android:layout_width="wrap_content"
94
                android:layout_height="match_parent"
95
                android:id="@+id/multiblurCheckBox5"
96
                android:onClick="onClick"
97
                android:layout_weight="1"
98
                android:checked="false"/>
99
            <CheckBox
100
                android:layout_width="wrap_content"
101
                android:layout_height="match_parent"
102
                android:id="@+id/multiblurCheckBox6"
103
                android:onClick="onClick"
104
                android:layout_weight="1"
105
                android:checked="false"/>
106
            <CheckBox
107
                android:layout_width="wrap_content"
108
                android:layout_height="match_parent"
109
                android:id="@+id/multiblurCheckBox7"
110
                android:onClick="onClick"
111
                android:layout_weight="1"
112
                android:checked="false"/>
113
114 febb61ba Leszek Koltunski
        </LinearLayout>
115
116 3e673c74 Leszek Koltunski
    </LinearLayout>
117
118 bf0bc90f Leszek Koltunski
    <LinearLayout
119
        android:id="@+id/linearLayout3"
120
        android:layout_width="fill_parent"
121
        android:layout_height="wrap_content"
122
        android:gravity="center|fill_horizontal"
123
        android:orientation="horizontal"
124
        android:background="@color/blue"
125
        android:paddingBottom="10dp"
126
        android:paddingTop="10dp" >
127
128
        <RadioGroup
129
            android:id="@+id/multiblurRadioGroup"
130
            android:layout_width="match_parent"
131
            android:layout_height="wrap_content"
132
            android:orientation="horizontal">
133
134
            <RadioButton
135
                android:id="@+id/multiblurRadioQuality0"
136
                android:layout_width="match_parent"
137
                android:layout_height="wrap_content"
138
                android:layout_weight="1"
139
                android:checked="true"
140
                android:onClick="quality0"
141
                android:text="@string/quality0"/>
142
143
            <RadioButton
144
                android:id="@+id/multiblurRadioQuality1"
145
                android:layout_width="match_parent"
146
                android:layout_height="wrap_content"
147
                android:layout_weight="1"
148
                android:onClick="quality1"
149
                android:text="@string/quality1"/>
150
151
            <RadioButton
152
                android:id="@+id/multiblurRadioQuality2"
153
                android:layout_width="match_parent"
154
                android:layout_height="wrap_content"
155
                android:layout_weight="1"
156
                android:onClick="quality2"
157
                android:text="@string/quality2"/>
158
159
            <RadioButton
160
                android:id="@+id/multiblurRadioQuality3"
161
                android:layout_width="match_parent"
162
                android:layout_height="wrap_content"
163
                android:layout_weight="1"
164
                android:onClick="quality3"
165
                android:text="@string/quality3"/>
166
167
        </RadioGroup>
168
169
    </LinearLayout>
170
171 3e673c74 Leszek Koltunski
</LinearLayout>