Project

General

Profile

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

examples / src / main / res / layout / multiblurlayout.xml @ 334cec2a

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.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
        android:orientation="vertical"
19
        android:background="@color/blue"
20
        android:paddingBottom="10dp"
21
        android:paddingTop="10dp" >
22

    
23
        <SeekBar
24
            android:id="@+id/multiblurDistanceSeek"
25
            android:layout_weight="1"
26
            android:layout_width="fill_parent"
27
            android:layout_height="0dp"
28
            android:paddingLeft="10dp"
29
            android:paddingRight="10dp" />
30

    
31
    </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
        <SeekBar
44
            android:id="@+id/multiblurRangeSeek"
45
            android:layout_weight="1"
46
            android:layout_width="fill_parent"
47
            android:layout_height="0dp"
48
            android:paddingLeft="10dp"
49
            android:paddingRight="10dp" />
50

    
51
        <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
            <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
        </LinearLayout>
115

    
116
    </LinearLayout>
117

    
118
    <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
                android:textSize="14sp"/>
143

    
144
            <RadioButton
145
                android:id="@+id/multiblurRadioQuality1"
146
                android:layout_width="match_parent"
147
                android:layout_height="wrap_content"
148
                android:layout_weight="1"
149
                android:onClick="quality1"
150
                android:text="@string/quality1"
151
                android:textSize="14sp"/>
152

    
153
            <RadioButton
154
                android:id="@+id/multiblurRadioQuality2"
155
                android:layout_width="match_parent"
156
                android:layout_height="wrap_content"
157
                android:layout_weight="1"
158
                android:onClick="quality2"
159
                android:text="@string/quality2"
160
                android:textSize="14sp"/>
161

    
162
            <RadioButton
163
                android:id="@+id/multiblurRadioQuality3"
164
                android:layout_width="match_parent"
165
                android:layout_height="wrap_content"
166
                android:layout_weight="1"
167
                android:onClick="quality3"
168
                android:text="@string/quality3"
169
                android:textSize="14sp"/>
170

    
171
        </RadioGroup>
172

    
173
    </LinearLayout>
174

    
175
</LinearLayout>
(24-24/31)