1 |
722c6ed3
|
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.olimpic.OlimpicSurfaceView
|
8 |
|
|
android:id="@+id/olimpicSurfaceView"
|
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 |
|
|
|
20 |
|
|
<TextView
|
21 |
|
|
android:id="@+id/olimpicText"
|
22 |
|
|
android:layout_width="fill_parent"
|
23 |
|
|
android:layout_height="0dp"
|
24 |
|
|
android:layout_weight="0.5"
|
25 |
|
|
android:gravity="center_vertical|center"
|
26 |
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
27 |
|
|
|
28 |
6ab5da9a
|
Leszek Koltunski
|
<LinearLayout
|
29 |
|
|
android:orientation="horizontal"
|
30 |
|
|
android:layout_width="match_parent"
|
31 |
|
|
android:layout_height="0dp"
|
32 |
6eb5eec2
|
Leszek Koltunski
|
android:background="@color/blue"
|
33 |
6ab5da9a
|
Leszek Koltunski
|
android:layout_weight="0.5">
|
34 |
|
|
|
35 |
|
|
<CheckBox
|
36 |
|
|
android:layout_width="wrap_content"
|
37 |
|
|
android:layout_height="match_parent"
|
38 |
|
|
android:id="@+id/olimpicCheckBoxBlue0"
|
39 |
|
|
android:layout_weight="2"
|
40 |
|
|
android:onClick="onClick"
|
41 |
|
|
android:checked="true"/>
|
42 |
|
|
<CheckBox
|
43 |
|
|
android:layout_width="wrap_content"
|
44 |
|
|
android:layout_height="match_parent"
|
45 |
|
|
android:id="@+id/olimpicCheckBoxBlue1"
|
46 |
|
|
android:layout_weight="1"
|
47 |
|
|
android:onClick="onClick"
|
48 |
|
|
android:checked="true"/>
|
49 |
|
|
<CheckBox
|
50 |
|
|
android:layout_width="wrap_content"
|
51 |
|
|
android:layout_height="match_parent"
|
52 |
|
|
android:id="@+id/olimpicCheckBoxBlue2"
|
53 |
|
|
android:layout_weight="1"
|
54 |
|
|
android:onClick="onClick"
|
55 |
|
|
android:checked="true"/>
|
56 |
|
|
<CheckBox
|
57 |
|
|
android:layout_width="wrap_content"
|
58 |
|
|
android:layout_height="match_parent"
|
59 |
|
|
android:id="@+id/olimpicCheckBoxBlue3"
|
60 |
|
|
android:layout_weight="1"
|
61 |
|
|
android:onClick="onClick"
|
62 |
|
|
android:checked="true"/>
|
63 |
|
|
<CheckBox
|
64 |
|
|
android:layout_width="wrap_content"
|
65 |
|
|
android:layout_height="match_parent"
|
66 |
|
|
android:id="@+id/olimpicCheckBoxBlue4"
|
67 |
|
|
android:layout_weight="1"
|
68 |
|
|
android:onClick="onClick"
|
69 |
|
|
android:checked="true"/>
|
70 |
|
|
<CheckBox
|
71 |
|
|
android:layout_width="wrap_content"
|
72 |
|
|
android:layout_height="match_parent"
|
73 |
|
|
android:id="@+id/olimpicCheckBoxBlue5"
|
74 |
|
|
android:layout_weight="1"
|
75 |
|
|
android:onClick="onClick"
|
76 |
|
|
android:checked="true"/>
|
77 |
|
|
<CheckBox
|
78 |
|
|
android:layout_width="wrap_content"
|
79 |
|
|
android:layout_height="match_parent"
|
80 |
|
|
android:id="@+id/olimpicCheckBoxBlue6"
|
81 |
|
|
android:layout_weight="1"
|
82 |
|
|
android:onClick="onClick"
|
83 |
|
|
android:checked="true"/>
|
84 |
|
|
<CheckBox
|
85 |
|
|
android:layout_width="wrap_content"
|
86 |
|
|
android:layout_height="match_parent"
|
87 |
|
|
android:id="@+id/olimpicCheckBoxBlue7"
|
88 |
|
|
android:layout_weight="1"
|
89 |
|
|
android:onClick="onClick"
|
90 |
|
|
android:checked="true"/>
|
91 |
|
|
<CheckBox
|
92 |
|
|
android:layout_width="wrap_content"
|
93 |
|
|
android:layout_height="match_parent"
|
94 |
|
|
android:id="@+id/olimpicCheckBoxBlue8"
|
95 |
|
|
android:layout_weight="1"
|
96 |
|
|
android:onClick="onClick"
|
97 |
|
|
android:checked="true"/>
|
98 |
|
|
</LinearLayout>
|
99 |
|
|
|
100 |
|
|
<LinearLayout
|
101 |
|
|
android:orientation="horizontal"
|
102 |
|
|
android:layout_width="match_parent"
|
103 |
|
|
android:layout_height="0dp"
|
104 |
6eb5eec2
|
Leszek Koltunski
|
android:background="@color/black"
|
105 |
6ab5da9a
|
Leszek Koltunski
|
android:layout_weight="0.5">
|
106 |
|
|
|
107 |
|
|
<CheckBox
|
108 |
|
|
android:layout_width="wrap_content"
|
109 |
|
|
android:layout_height="match_parent"
|
110 |
|
|
android:id="@+id/olimpicCheckBoxBlack0"
|
111 |
|
|
android:layout_weight="2"
|
112 |
|
|
android:onClick="onClick"
|
113 |
|
|
android:checked="true"/>
|
114 |
|
|
<CheckBox
|
115 |
|
|
android:layout_width="wrap_content"
|
116 |
|
|
android:layout_height="match_parent"
|
117 |
|
|
android:id="@+id/olimpicCheckBoxBlack1"
|
118 |
|
|
android:layout_weight="1"
|
119 |
|
|
android:onClick="onClick"
|
120 |
|
|
android:checked="true"/>
|
121 |
|
|
<CheckBox
|
122 |
|
|
android:layout_width="wrap_content"
|
123 |
|
|
android:layout_height="match_parent"
|
124 |
|
|
android:id="@+id/olimpicCheckBoxBlack2"
|
125 |
|
|
android:layout_weight="1"
|
126 |
|
|
android:onClick="onClick"
|
127 |
|
|
android:checked="true"/>
|
128 |
|
|
<CheckBox
|
129 |
|
|
android:layout_width="wrap_content"
|
130 |
|
|
android:layout_height="match_parent"
|
131 |
|
|
android:id="@+id/olimpicCheckBoxBlack3"
|
132 |
|
|
android:layout_weight="1"
|
133 |
|
|
android:onClick="onClick"
|
134 |
|
|
android:checked="true"/>
|
135 |
|
|
<CheckBox
|
136 |
|
|
android:layout_width="wrap_content"
|
137 |
|
|
android:layout_height="match_parent"
|
138 |
|
|
android:id="@+id/olimpicCheckBoxBlack4"
|
139 |
|
|
android:layout_weight="1"
|
140 |
|
|
android:onClick="onClick"
|
141 |
|
|
android:checked="true"/>
|
142 |
|
|
<CheckBox
|
143 |
|
|
android:layout_width="wrap_content"
|
144 |
|
|
android:layout_height="match_parent"
|
145 |
|
|
android:id="@+id/olimpicCheckBoxBlack5"
|
146 |
|
|
android:layout_weight="1"
|
147 |
|
|
android:onClick="onClick"
|
148 |
|
|
android:checked="true"/>
|
149 |
|
|
<CheckBox
|
150 |
|
|
android:layout_width="wrap_content"
|
151 |
|
|
android:layout_height="match_parent"
|
152 |
|
|
android:id="@+id/olimpicCheckBoxBlack6"
|
153 |
|
|
android:layout_weight="1"
|
154 |
|
|
android:onClick="onClick"
|
155 |
|
|
android:checked="true"/>
|
156 |
|
|
<CheckBox
|
157 |
|
|
android:layout_width="wrap_content"
|
158 |
|
|
android:layout_height="match_parent"
|
159 |
|
|
android:id="@+id/olimpicCheckBoxBlack7"
|
160 |
|
|
android:layout_weight="1"
|
161 |
|
|
android:onClick="onClick"
|
162 |
|
|
android:checked="true"/>
|
163 |
|
|
<CheckBox
|
164 |
|
|
android:layout_width="wrap_content"
|
165 |
|
|
android:layout_height="match_parent"
|
166 |
|
|
android:id="@+id/olimpicCheckBoxBlack8"
|
167 |
|
|
android:layout_weight="1"
|
168 |
|
|
android:onClick="onClick"
|
169 |
|
|
android:checked="true"/>
|
170 |
|
|
</LinearLayout>
|
171 |
|
|
|
172 |
|
|
<LinearLayout
|
173 |
|
|
android:orientation="horizontal"
|
174 |
|
|
android:layout_width="match_parent"
|
175 |
|
|
android:layout_height="0dp"
|
176 |
6eb5eec2
|
Leszek Koltunski
|
android:background="@color/red"
|
177 |
6ab5da9a
|
Leszek Koltunski
|
android:layout_weight="0.5">
|
178 |
|
|
|
179 |
|
|
<CheckBox
|
180 |
|
|
android:layout_width="wrap_content"
|
181 |
|
|
android:layout_height="match_parent"
|
182 |
|
|
android:id="@+id/olimpicCheckBoxRed0"
|
183 |
|
|
android:layout_weight="2"
|
184 |
|
|
android:onClick="onClick"
|
185 |
|
|
android:checked="true"/>
|
186 |
|
|
<CheckBox
|
187 |
|
|
android:layout_width="wrap_content"
|
188 |
|
|
android:layout_height="match_parent"
|
189 |
|
|
android:id="@+id/olimpicCheckBoxRed1"
|
190 |
|
|
android:layout_weight="1"
|
191 |
|
|
android:onClick="onClick"
|
192 |
|
|
android:checked="true"/>
|
193 |
|
|
<CheckBox
|
194 |
|
|
android:layout_width="wrap_content"
|
195 |
|
|
android:layout_height="match_parent"
|
196 |
|
|
android:id="@+id/olimpicCheckBoxRed2"
|
197 |
|
|
android:layout_weight="1"
|
198 |
|
|
android:onClick="onClick"
|
199 |
|
|
android:checked="true"/>
|
200 |
|
|
<CheckBox
|
201 |
|
|
android:layout_width="wrap_content"
|
202 |
|
|
android:layout_height="match_parent"
|
203 |
|
|
android:id="@+id/olimpicCheckBoxRed3"
|
204 |
|
|
android:layout_weight="1"
|
205 |
|
|
android:onClick="onClick"
|
206 |
|
|
android:checked="true"/>
|
207 |
|
|
<CheckBox
|
208 |
|
|
android:layout_width="wrap_content"
|
209 |
|
|
android:layout_height="match_parent"
|
210 |
|
|
android:id="@+id/olimpicCheckBoxRed4"
|
211 |
|
|
android:layout_weight="1"
|
212 |
|
|
android:onClick="onClick"
|
213 |
|
|
android:checked="true"/>
|
214 |
|
|
<CheckBox
|
215 |
|
|
android:layout_width="wrap_content"
|
216 |
|
|
android:layout_height="match_parent"
|
217 |
|
|
android:id="@+id/olimpicCheckBoxRed5"
|
218 |
|
|
android:layout_weight="1"
|
219 |
|
|
android:onClick="onClick"
|
220 |
|
|
android:checked="true"/>
|
221 |
|
|
<CheckBox
|
222 |
|
|
android:layout_width="wrap_content"
|
223 |
|
|
android:layout_height="match_parent"
|
224 |
|
|
android:id="@+id/olimpicCheckBoxRed6"
|
225 |
|
|
android:layout_weight="1"
|
226 |
|
|
android:onClick="onClick"
|
227 |
|
|
android:checked="true"/>
|
228 |
|
|
<CheckBox
|
229 |
|
|
android:layout_width="wrap_content"
|
230 |
|
|
android:layout_height="match_parent"
|
231 |
|
|
android:id="@+id/olimpicCheckBoxRed7"
|
232 |
|
|
android:layout_weight="1"
|
233 |
|
|
android:onClick="onClick"
|
234 |
|
|
android:checked="true"/>
|
235 |
|
|
<CheckBox
|
236 |
|
|
android:layout_width="wrap_content"
|
237 |
|
|
android:layout_height="match_parent"
|
238 |
|
|
android:id="@+id/olimpicCheckBoxRed8"
|
239 |
|
|
android:layout_weight="1"
|
240 |
|
|
android:onClick="onClick"
|
241 |
|
|
android:checked="true"/>
|
242 |
|
|
</LinearLayout>
|
243 |
|
|
|
244 |
|
|
<LinearLayout
|
245 |
|
|
android:orientation="horizontal"
|
246 |
|
|
android:layout_width="match_parent"
|
247 |
|
|
android:layout_height="0dp"
|
248 |
6eb5eec2
|
Leszek Koltunski
|
android:background="@color/yellow"
|
249 |
6ab5da9a
|
Leszek Koltunski
|
android:layout_weight="0.5">
|
250 |
|
|
|
251 |
|
|
<CheckBox
|
252 |
|
|
android:layout_width="wrap_content"
|
253 |
|
|
android:layout_height="match_parent"
|
254 |
|
|
android:id="@+id/olimpicCheckBoxYellow0"
|
255 |
|
|
android:layout_weight="2"
|
256 |
|
|
android:onClick="onClick"
|
257 |
|
|
android:checked="true"/>
|
258 |
|
|
<CheckBox
|
259 |
|
|
android:layout_width="wrap_content"
|
260 |
|
|
android:layout_height="match_parent"
|
261 |
|
|
android:id="@+id/olimpicCheckBoxYellow1"
|
262 |
|
|
android:layout_weight="1"
|
263 |
|
|
android:onClick="onClick"
|
264 |
|
|
android:checked="true"/>
|
265 |
|
|
<CheckBox
|
266 |
|
|
android:layout_width="wrap_content"
|
267 |
|
|
android:layout_height="match_parent"
|
268 |
|
|
android:id="@+id/olimpicCheckBoxYellow2"
|
269 |
|
|
android:layout_weight="1"
|
270 |
|
|
android:onClick="onClick"
|
271 |
|
|
android:checked="true"/>
|
272 |
|
|
<CheckBox
|
273 |
|
|
android:layout_width="wrap_content"
|
274 |
|
|
android:layout_height="match_parent"
|
275 |
|
|
android:id="@+id/olimpicCheckBoxYellow3"
|
276 |
|
|
android:layout_weight="1"
|
277 |
|
|
android:onClick="onClick"
|
278 |
|
|
android:checked="true"/>
|
279 |
|
|
<CheckBox
|
280 |
|
|
android:layout_width="wrap_content"
|
281 |
|
|
android:layout_height="match_parent"
|
282 |
|
|
android:id="@+id/olimpicCheckBoxYellow4"
|
283 |
|
|
android:layout_weight="1"
|
284 |
|
|
android:onClick="onClick"
|
285 |
|
|
android:checked="true"/>
|
286 |
|
|
<CheckBox
|
287 |
|
|
android:layout_width="wrap_content"
|
288 |
|
|
android:layout_height="match_parent"
|
289 |
|
|
android:id="@+id/olimpicCheckBoxYellow5"
|
290 |
|
|
android:layout_weight="1"
|
291 |
|
|
android:onClick="onClick"
|
292 |
|
|
android:checked="true"/>
|
293 |
|
|
<CheckBox
|
294 |
|
|
android:layout_width="wrap_content"
|
295 |
|
|
android:layout_height="match_parent"
|
296 |
|
|
android:id="@+id/olimpicCheckBoxYellow6"
|
297 |
|
|
android:layout_weight="1"
|
298 |
|
|
android:onClick="onClick"
|
299 |
|
|
android:checked="true"/>
|
300 |
|
|
<CheckBox
|
301 |
|
|
android:layout_width="wrap_content"
|
302 |
|
|
android:layout_height="match_parent"
|
303 |
|
|
android:id="@+id/olimpicCheckBoxYellow7"
|
304 |
|
|
android:layout_weight="1"
|
305 |
|
|
android:onClick="onClick"
|
306 |
|
|
android:checked="true"/>
|
307 |
|
|
<CheckBox
|
308 |
|
|
android:layout_width="wrap_content"
|
309 |
|
|
android:layout_height="match_parent"
|
310 |
|
|
android:id="@+id/olimpicCheckBoxYellow8"
|
311 |
|
|
android:layout_weight="1"
|
312 |
|
|
android:onClick="onClick"
|
313 |
|
|
android:checked="true"/>
|
314 |
|
|
</LinearLayout>
|
315 |
|
|
|
316 |
|
|
<LinearLayout
|
317 |
|
|
android:orientation="horizontal"
|
318 |
|
|
android:layout_width="match_parent"
|
319 |
|
|
android:layout_height="0dp"
|
320 |
6eb5eec2
|
Leszek Koltunski
|
android:background="@color/green"
|
321 |
6ab5da9a
|
Leszek Koltunski
|
android:layout_weight="0.5">
|
322 |
|
|
|
323 |
|
|
<CheckBox
|
324 |
|
|
android:layout_width="wrap_content"
|
325 |
|
|
android:layout_height="match_parent"
|
326 |
|
|
android:id="@+id/olimpicCheckBoxGreen0"
|
327 |
|
|
android:layout_weight="2"
|
328 |
|
|
android:onClick="onClick"
|
329 |
|
|
android:checked="true"/>
|
330 |
|
|
<CheckBox
|
331 |
|
|
android:layout_width="wrap_content"
|
332 |
|
|
android:layout_height="match_parent"
|
333 |
|
|
android:id="@+id/olimpicCheckBoxGreen1"
|
334 |
|
|
android:layout_weight="1"
|
335 |
|
|
android:onClick="onClick"
|
336 |
|
|
android:checked="true"/>
|
337 |
|
|
<CheckBox
|
338 |
|
|
android:layout_width="wrap_content"
|
339 |
|
|
android:layout_height="match_parent"
|
340 |
|
|
android:id="@+id/olimpicCheckBoxGreen2"
|
341 |
|
|
android:layout_weight="1"
|
342 |
|
|
android:onClick="onClick"
|
343 |
|
|
android:checked="true"/>
|
344 |
|
|
<CheckBox
|
345 |
|
|
android:layout_width="wrap_content"
|
346 |
|
|
android:layout_height="match_parent"
|
347 |
|
|
android:id="@+id/olimpicCheckBoxGreen3"
|
348 |
|
|
android:layout_weight="1"
|
349 |
|
|
android:onClick="onClick"
|
350 |
|
|
android:checked="true"/>
|
351 |
|
|
<CheckBox
|
352 |
|
|
android:layout_width="wrap_content"
|
353 |
|
|
android:layout_height="match_parent"
|
354 |
|
|
android:id="@+id/olimpicCheckBoxGreen4"
|
355 |
|
|
android:layout_weight="1"
|
356 |
|
|
android:onClick="onClick"
|
357 |
|
|
android:checked="true"/>
|
358 |
|
|
<CheckBox
|
359 |
|
|
android:layout_width="wrap_content"
|
360 |
|
|
android:layout_height="match_parent"
|
361 |
|
|
android:id="@+id/olimpicCheckBoxGreen5"
|
362 |
|
|
android:layout_weight="1"
|
363 |
|
|
android:onClick="onClick"
|
364 |
|
|
android:checked="true"/>
|
365 |
|
|
<CheckBox
|
366 |
|
|
android:layout_width="wrap_content"
|
367 |
|
|
android:layout_height="match_parent"
|
368 |
|
|
android:id="@+id/olimpicCheckBoxGreen6"
|
369 |
|
|
android:layout_weight="1"
|
370 |
|
|
android:onClick="onClick"
|
371 |
|
|
android:checked="true"/>
|
372 |
|
|
<CheckBox
|
373 |
|
|
android:layout_width="wrap_content"
|
374 |
|
|
android:layout_height="match_parent"
|
375 |
|
|
android:id="@+id/olimpicCheckBoxGreen7"
|
376 |
|
|
android:layout_weight="1"
|
377 |
|
|
android:onClick="onClick"
|
378 |
|
|
android:checked="true"/>
|
379 |
|
|
<CheckBox
|
380 |
|
|
android:layout_width="wrap_content"
|
381 |
|
|
android:layout_height="match_parent"
|
382 |
|
|
android:id="@+id/olimpicCheckBoxGreen8"
|
383 |
|
|
android:layout_weight="1"
|
384 |
|
|
android:onClick="onClick"
|
385 |
|
|
android:checked="true"/>
|
386 |
|
|
</LinearLayout>
|
387 |
|
|
|
388 |
722c6ed3
|
Leszek Koltunski
|
</LinearLayout>
|
389 |
|
|
|
390 |
|
|
</LinearLayout>
|