Revision 1b80a6e2
Added by Leszek Koltunski over 2 years ago
src/main/res/layout/triblurlayout.xml | ||
---|---|---|
40 | 40 |
android:orientation="horizontal" |
41 | 41 |
android:paddingTop="5dp"> |
42 | 42 |
|
43 |
<RadioGroup |
|
44 |
android:id="@+id/triblurRadio0" |
|
43 |
<Spinner |
|
45 | 44 |
android:layout_width="0dp" |
46 |
android:layout_height="wrap_content" |
|
47 |
android:layout_weight="0.6" |
|
48 |
android:orientation="horizontal"> |
|
49 |
|
|
50 |
<RadioButton |
|
51 |
android:id="@+id/triblurRadioNone0" |
|
52 |
android:layout_width="match_parent" |
|
53 |
android:layout_height="wrap_content" |
|
54 |
android:layout_weight="1" |
|
55 |
android:onClick="effect" |
|
56 |
android:text="@string/none" |
|
57 |
android:textSize="14sp" /> |
|
58 |
|
|
59 |
<RadioButton |
|
60 |
android:id="@+id/triblurRadioBlur0" |
|
61 |
android:layout_width="match_parent" |
|
62 |
android:layout_height="wrap_content" |
|
63 |
android:layout_weight="1" |
|
64 |
android:checked="true" |
|
65 |
android:onClick="effect" |
|
66 |
android:text="@string/blur" |
|
67 |
android:textSize="14sp" /> |
|
68 |
|
|
69 |
<RadioButton |
|
70 |
android:id="@+id/triblurRadioGlow0" |
|
71 |
android:layout_width="match_parent" |
|
72 |
android:layout_height="wrap_content" |
|
73 |
android:layout_weight="1" |
|
74 |
android:onClick="effect" |
|
75 |
android:text="@string/glow" |
|
76 |
android:textSize="14sp" /> |
|
77 |
|
|
78 |
</RadioGroup> |
|
79 |
|
|
45 |
android:layout_height="50dp" |
|
46 |
android:layout_weight="0.5" |
|
47 |
android:id="@+id/triblur_effect0" /> |
|
80 | 48 |
<SeekBar |
81 | 49 |
android:id="@+id/triblurSeek0" |
82 | 50 |
android:layout_width="wrap_content" |
83 | 51 |
android:layout_height="fill_parent" |
84 |
android:layout_weight="0.4"
|
|
52 |
android:layout_weight="0.5"
|
|
85 | 53 |
android:paddingLeft="5dp" |
86 | 54 |
android:paddingRight="5dp" /> |
87 | 55 |
</LinearLayout> |
... | ... | |
93 | 61 |
android:orientation="horizontal" |
94 | 62 |
android:paddingTop="5dp"> |
95 | 63 |
|
96 |
<RadioGroup |
|
97 |
android:id="@+id/triblurRadio1" |
|
64 |
<Spinner |
|
98 | 65 |
android:layout_width="0dp" |
99 |
android:layout_height="wrap_content" |
|
100 |
android:layout_weight="0.6" |
|
101 |
android:orientation="horizontal"> |
|
102 |
|
|
103 |
<RadioButton |
|
104 |
android:id="@+id/triblurRadioNone1" |
|
105 |
android:layout_width="match_parent" |
|
106 |
android:layout_height="wrap_content" |
|
107 |
android:layout_weight="1" |
|
108 |
android:onClick="effect" |
|
109 |
android:text="@string/none" |
|
110 |
android:textSize="14sp" /> |
|
111 |
|
|
112 |
<RadioButton |
|
113 |
android:id="@+id/triblurRadioBlur1" |
|
114 |
android:layout_width="match_parent" |
|
115 |
android:layout_height="wrap_content" |
|
116 |
android:layout_weight="1" |
|
117 |
android:checked="true" |
|
118 |
android:onClick="effect" |
|
119 |
android:text="@string/blur" |
|
120 |
android:textSize="14sp" /> |
|
121 |
|
|
122 |
<RadioButton |
|
123 |
android:id="@+id/triblurRadioGlow1" |
|
124 |
android:layout_width="match_parent" |
|
125 |
android:layout_height="wrap_content" |
|
126 |
android:layout_weight="1" |
|
127 |
android:onClick="effect" |
|
128 |
android:text="@string/glow" |
|
129 |
android:textSize="14sp" /> |
|
130 |
|
|
131 |
</RadioGroup> |
|
132 |
|
|
66 |
android:layout_height="50dp" |
|
67 |
android:layout_weight="0.5" |
|
68 |
android:id="@+id/triblur_effect1" /> |
|
133 | 69 |
<SeekBar |
134 | 70 |
android:id="@+id/triblurSeek1" |
135 | 71 |
android:layout_width="wrap_content" |
136 | 72 |
android:layout_height="fill_parent" |
137 |
android:layout_weight="0.4"
|
|
73 |
android:layout_weight="0.5"
|
|
138 | 74 |
android:paddingLeft="5dp" |
139 | 75 |
android:paddingRight="5dp" /> |
140 | 76 |
</LinearLayout> |
... | ... | |
146 | 82 |
android:orientation="horizontal" |
147 | 83 |
android:paddingTop="5dp"> |
148 | 84 |
|
149 |
<RadioGroup |
|
150 |
android:id="@+id/triblurRadio2" |
|
85 |
<Spinner |
|
151 | 86 |
android:layout_width="0dp" |
152 |
android:layout_height="wrap_content" |
|
153 |
android:layout_weight="0.6" |
|
154 |
android:orientation="horizontal"> |
|
155 |
|
|
156 |
<RadioButton |
|
157 |
android:id="@+id/triblurRadioNone2" |
|
158 |
android:layout_width="match_parent" |
|
159 |
android:layout_height="wrap_content" |
|
160 |
android:layout_weight="1" |
|
161 |
android:onClick="effect" |
|
162 |
android:text="@string/none" |
|
163 |
android:textSize="14sp" /> |
|
164 |
|
|
165 |
<RadioButton |
|
166 |
android:id="@+id/triblurRadioBlur2" |
|
167 |
android:layout_width="match_parent" |
|
168 |
android:layout_height="wrap_content" |
|
169 |
android:layout_weight="1" |
|
170 |
android:checked="true" |
|
171 |
android:onClick="effect" |
|
172 |
android:text="@string/blur" |
|
173 |
android:textSize="14sp" /> |
|
174 |
|
|
175 |
<RadioButton |
|
176 |
android:id="@+id/triblurRadioGlow2" |
|
177 |
android:layout_width="match_parent" |
|
178 |
android:layout_height="wrap_content" |
|
179 |
android:layout_weight="1" |
|
180 |
android:onClick="effect" |
|
181 |
android:text="@string/glow" |
|
182 |
android:textSize="14sp" /> |
|
183 |
|
|
184 |
</RadioGroup> |
|
185 |
|
|
87 |
android:layout_height="50dp" |
|
88 |
android:layout_weight="0.5" |
|
89 |
android:id="@+id/triblur_effect2" /> |
|
186 | 90 |
<SeekBar |
187 | 91 |
android:id="@+id/triblurSeek2" |
188 | 92 |
android:layout_width="wrap_content" |
189 | 93 |
android:layout_height="fill_parent" |
190 |
android:layout_weight="0.4"
|
|
94 |
android:layout_weight="0.5"
|
|
191 | 95 |
android:paddingLeft="5dp" |
192 | 96 |
android:paddingRight="5dp" /> |
193 | 97 |
</LinearLayout> |
Also available in: Unified diff
New postprocess effect 'Border' (not working yet) and adding it to the testing app 'Triblur'.