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:id="@+id/linearLayout3"
|
15
|
android:layout_width="fill_parent"
|
16
|
android:layout_height="wrap_content"
|
17
|
android:gravity="center|fill_horizontal"
|
18
|
android:orientation="horizontal"
|
19
|
android:background="@color/blue">
|
20
|
|
21
|
<Spinner
|
22
|
android:layout_width="0dp"
|
23
|
android:layout_height="50dp"
|
24
|
android:layout_weight="0.5"
|
25
|
android:id="@+id/triblur_spinnerQuality"
|
26
|
/>
|
27
|
|
28
|
<Spinner
|
29
|
android:layout_width="0dp"
|
30
|
android:layout_height="50dp"
|
31
|
android:layout_weight="0.5"
|
32
|
android:id="@+id/triblur_spinnerMode"
|
33
|
/>
|
34
|
</LinearLayout>
|
35
|
|
36
|
<LinearLayout
|
37
|
android:layout_width="match_parent"
|
38
|
android:layout_height="60dp"
|
39
|
android:background="@color/red"
|
40
|
android:orientation="horizontal"
|
41
|
android:paddingTop="5dp">
|
42
|
|
43
|
<Spinner
|
44
|
android:layout_width="0dp"
|
45
|
android:layout_height="50dp"
|
46
|
android:layout_weight="0.5"
|
47
|
android:id="@+id/triblur_effect0" />
|
48
|
<SeekBar
|
49
|
android:id="@+id/triblurSeek0"
|
50
|
android:layout_width="wrap_content"
|
51
|
android:layout_height="fill_parent"
|
52
|
android:layout_weight="0.5"
|
53
|
android:paddingLeft="5dp"
|
54
|
android:paddingRight="5dp" />
|
55
|
</LinearLayout>
|
56
|
|
57
|
<LinearLayout
|
58
|
android:layout_width="match_parent"
|
59
|
android:layout_height="60dp"
|
60
|
android:background="@color/yellow"
|
61
|
android:orientation="horizontal"
|
62
|
android:paddingTop="5dp">
|
63
|
|
64
|
<Spinner
|
65
|
android:layout_width="0dp"
|
66
|
android:layout_height="50dp"
|
67
|
android:layout_weight="0.5"
|
68
|
android:id="@+id/triblur_effect1" />
|
69
|
<SeekBar
|
70
|
android:id="@+id/triblurSeek1"
|
71
|
android:layout_width="wrap_content"
|
72
|
android:layout_height="fill_parent"
|
73
|
android:layout_weight="0.5"
|
74
|
android:paddingLeft="5dp"
|
75
|
android:paddingRight="5dp" />
|
76
|
</LinearLayout>
|
77
|
|
78
|
<LinearLayout
|
79
|
android:layout_width="match_parent"
|
80
|
android:layout_height="60dp"
|
81
|
android:background="@color/green"
|
82
|
android:orientation="horizontal"
|
83
|
android:paddingTop="5dp">
|
84
|
|
85
|
<Spinner
|
86
|
android:layout_width="0dp"
|
87
|
android:layout_height="50dp"
|
88
|
android:layout_weight="0.5"
|
89
|
android:id="@+id/triblur_effect2" />
|
90
|
<SeekBar
|
91
|
android:id="@+id/triblurSeek2"
|
92
|
android:layout_width="wrap_content"
|
93
|
android:layout_height="fill_parent"
|
94
|
android:layout_weight="0.5"
|
95
|
android:paddingLeft="5dp"
|
96
|
android:paddingRight="5dp" />
|
97
|
</LinearLayout>
|
98
|
|
99
|
<LinearLayout
|
100
|
android:id="@+id/linearLayout2"
|
101
|
android:layout_width="fill_parent"
|
102
|
android:layout_height="wrap_content"
|
103
|
android:gravity="center|fill_horizontal"
|
104
|
android:orientation="horizontal"
|
105
|
android:background="@color/cyan"
|
106
|
android:paddingBottom="2dp"
|
107
|
android:paddingTop="2dp" >
|
108
|
|
109
|
<RadioGroup
|
110
|
android:id="@+id/triblurRadioBackground"
|
111
|
android:layout_width="match_parent"
|
112
|
android:layout_height="wrap_content"
|
113
|
android:orientation="horizontal">
|
114
|
|
115
|
<RadioButton
|
116
|
android:id="@+id/triblurRadioBackground0"
|
117
|
android:layout_width="match_parent"
|
118
|
android:layout_height="wrap_content"
|
119
|
android:layout_weight="1"
|
120
|
android:onClick="backgroundColor"
|
121
|
android:text="@string/color_black"
|
122
|
android:textSize="16sp"/>
|
123
|
|
124
|
<RadioButton
|
125
|
android:id="@+id/triblurRadioBackground1"
|
126
|
android:layout_width="match_parent"
|
127
|
android:layout_height="wrap_content"
|
128
|
android:layout_weight="1"
|
129
|
android:checked="true"
|
130
|
android:onClick="backgroundColor"
|
131
|
android:text="@string/color_white"
|
132
|
android:textSize="16sp"/>
|
133
|
|
134
|
<RadioButton
|
135
|
android:id="@+id/triblurRadioBackground2"
|
136
|
android:layout_width="match_parent"
|
137
|
android:layout_height="wrap_content"
|
138
|
android:layout_weight="1"
|
139
|
android:onClick="backgroundColor"
|
140
|
android:text="@string/color_blue"
|
141
|
android:textSize="16sp"/>
|
142
|
|
143
|
</RadioGroup>
|
144
|
|
145
|
</LinearLayout>
|
146
|
|
147
|
</LinearLayout>
|