1 |
427ab7bf
|
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:layout_gravity="fill_horizontal"
|
6 |
|
|
android:gravity="fill_horizontal"
|
7 |
|
|
android:orientation="vertical" >
|
8 |
|
|
|
9 |
2666a48c
|
Leszek Koltunski
|
<LinearLayout
|
10 |
|
|
android:orientation="horizontal"
|
11 |
|
|
android:layout_width="match_parent"
|
12 |
|
|
android:layout_height="48dp">
|
13 |
|
|
|
14 |
|
|
<Spinner
|
15 |
|
|
android:layout_width="0dp"
|
16 |
|
|
android:layout_height="50dp"
|
17 |
|
|
android:layout_weight="0.5"
|
18 |
|
|
android:id="@+id/dynamicSpinnerDimension"/>
|
19 |
|
|
|
20 |
|
|
<Spinner
|
21 |
|
|
android:layout_width="0dp"
|
22 |
|
|
android:layout_height="50dp"
|
23 |
|
|
android:layout_weight="0.5"
|
24 |
|
|
android:id="@+id/dynamicSpinnerMode"/>
|
25 |
427ab7bf
|
Leszek Koltunski
|
|
26 |
5690134d
|
Leszek Koltunski
|
<Spinner
|
27 |
|
|
android:layout_width="0dp"
|
28 |
|
|
android:layout_height="50dp"
|
29 |
|
|
android:layout_weight="0.5"
|
30 |
|
|
android:id="@+id/dynamicSpinnerSpeedMode"/>
|
31 |
|
|
|
32 |
2666a48c
|
Leszek Koltunski
|
</LinearLayout>
|
33 |
427ab7bf
|
Leszek Koltunski
|
|
34 |
|
|
<LinearLayout
|
35 |
|
|
android:layout_width="fill_parent"
|
36 |
ef0fd531
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
37 |
427ab7bf
|
Leszek Koltunski
|
android:layout_gravity="center_vertical"
|
38 |
ef0fd531
|
Leszek Koltunski
|
android:gravity="center|fill_horizontal"
|
39 |
|
|
android:orientation="vertical">
|
40 |
427ab7bf
|
Leszek Koltunski
|
|
41 |
2666a48c
|
Leszek Koltunski
|
<LinearLayout
|
42 |
|
|
android:layout_width="fill_parent"
|
43 |
ef0fd531
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
44 |
2666a48c
|
Leszek Koltunski
|
android:orientation="horizontal"
|
45 |
|
|
android:baselineAligned="false">
|
46 |
ef0fd531
|
Leszek Koltunski
|
|
47 |
2666a48c
|
Leszek Koltunski
|
<LinearLayout
|
48 |
|
|
android:layout_width="wrap_content"
|
49 |
|
|
android:layout_height="fill_parent"
|
50 |
dea555b9
|
Leszek Koltunski
|
android:layout_weight="1"
|
51 |
2666a48c
|
Leszek Koltunski
|
android:layout_gravity="center_vertical"
|
52 |
|
|
android:gravity="center|fill_horizontal"
|
53 |
|
|
android:orientation="vertical">
|
54 |
|
|
|
55 |
|
|
<TextView
|
56 |
|
|
android:id="@+id/dynamicTextDuration"
|
57 |
|
|
android:layout_width="wrap_content"
|
58 |
|
|
android:layout_height="wrap_content"
|
59 |
|
|
android:layout_gravity="center_horizontal"
|
60 |
|
|
android:text="@string/duration"
|
61 |
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
62 |
|
|
android:textSize="12sp" />
|
63 |
|
|
</LinearLayout>
|
64 |
|
|
|
65 |
|
|
<LinearLayout
|
66 |
|
|
android:layout_width="wrap_content"
|
67 |
|
|
android:layout_height="fill_parent"
|
68 |
dea555b9
|
Leszek Koltunski
|
android:layout_weight="1"
|
69 |
2666a48c
|
Leszek Koltunski
|
android:layout_gravity="center_vertical"
|
70 |
|
|
android:gravity="center|fill_horizontal"
|
71 |
|
|
android:orientation="vertical">
|
72 |
|
|
|
73 |
|
|
<TextView
|
74 |
|
|
android:id="@+id/dynamicTextCount"
|
75 |
|
|
android:layout_width="wrap_content"
|
76 |
|
|
android:layout_height="wrap_content"
|
77 |
|
|
android:layout_gravity="center_horizontal"
|
78 |
|
|
android:text="@string/count"
|
79 |
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
80 |
|
|
android:textSize="12sp" />
|
81 |
dea555b9
|
Leszek Koltunski
|
</LinearLayout>
|
82 |
2666a48c
|
Leszek Koltunski
|
|
83 |
dea555b9
|
Leszek Koltunski
|
<LinearLayout
|
84 |
|
|
android:layout_width="wrap_content"
|
85 |
|
|
android:layout_height="fill_parent"
|
86 |
|
|
android:layout_weight="1"
|
87 |
|
|
android:layout_gravity="center_vertical"
|
88 |
|
|
android:gravity="center|fill_horizontal"
|
89 |
|
|
android:orientation="vertical">
|
90 |
2666a48c
|
Leszek Koltunski
|
|
91 |
dea555b9
|
Leszek Koltunski
|
<TextView
|
92 |
|
|
android:id="@+id/dynamicTextConvexity"
|
93 |
|
|
android:layout_width="wrap_content"
|
94 |
|
|
android:layout_height="wrap_content"
|
95 |
|
|
android:layout_gravity="center_horizontal"
|
96 |
|
|
android:text="@string/convexity"
|
97 |
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
98 |
|
|
android:textSize="12sp" />
|
99 |
2666a48c
|
Leszek Koltunski
|
</LinearLayout>
|
100 |
dea555b9
|
Leszek Koltunski
|
</LinearLayout>
|
101 |
2666a48c
|
Leszek Koltunski
|
|
102 |
dea555b9
|
Leszek Koltunski
|
<LinearLayout
|
103 |
|
|
android:orientation="horizontal"
|
104 |
|
|
android:layout_width="match_parent"
|
105 |
|
|
android:layout_height="match_parent"
|
106 |
|
|
android:layout_weight="15"
|
107 |
|
|
android:paddingBottom="5dp">
|
108 |
|
|
|
109 |
|
|
<SeekBar
|
110 |
|
|
android:id="@+id/dynamicSeekDuration"
|
111 |
|
|
android:layout_width="match_parent"
|
112 |
|
|
android:layout_height="wrap_content"
|
113 |
|
|
android:layout_weight="1"
|
114 |
|
|
android:paddingLeft="10dp"
|
115 |
|
|
android:paddingRight="5dp" />
|
116 |
|
|
|
117 |
|
|
<SeekBar
|
118 |
|
|
android:id="@+id/dynamicSeekCount"
|
119 |
|
|
android:layout_width="match_parent"
|
120 |
|
|
android:layout_height="wrap_content"
|
121 |
|
|
android:layout_weight="1"
|
122 |
|
|
android:paddingLeft="5dp"
|
123 |
|
|
android:paddingRight="5dp" />
|
124 |
|
|
|
125 |
|
|
<SeekBar
|
126 |
|
|
android:id="@+id/dynamicSeekConvexity"
|
127 |
|
|
android:layout_width="match_parent"
|
128 |
|
|
android:layout_height="wrap_content"
|
129 |
|
|
android:layout_weight="1"
|
130 |
|
|
android:paddingLeft="5dp"
|
131 |
|
|
android:paddingRight="10dp" />
|
132 |
2666a48c
|
Leszek Koltunski
|
</LinearLayout>
|
133 |
427ab7bf
|
Leszek Koltunski
|
|
134 |
ef0fd531
|
Leszek Koltunski
|
<TextView
|
135 |
|
|
android:id="@+id/dynamicTextNoise"
|
136 |
|
|
android:layout_width="wrap_content"
|
137 |
|
|
android:layout_height="wrap_content"
|
138 |
|
|
android:layout_gravity="center_horizontal"
|
139 |
|
|
android:layout_weight="15"
|
140 |
|
|
android:text="@string/noise"
|
141 |
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
142 |
|
|
android:textSize="12sp" />
|
143 |
|
|
|
144 |
|
|
<LinearLayout
|
145 |
|
|
android:orientation="horizontal"
|
146 |
|
|
android:layout_width="match_parent"
|
147 |
|
|
android:layout_height="match_parent"
|
148 |
da77ffd8
|
Leszek Koltunski
|
android:layout_weight="15"
|
149 |
|
|
android:paddingBottom="5dp">
|
150 |
ef0fd531
|
Leszek Koltunski
|
|
151 |
|
|
<SeekBar
|
152 |
|
|
android:id="@+id/dynamicSeekNoise0"
|
153 |
|
|
android:layout_width="match_parent"
|
154 |
427ab7bf
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
155 |
ef0fd531
|
Leszek Koltunski
|
android:layout_weight="1"
|
156 |
2666a48c
|
Leszek Koltunski
|
android:paddingLeft="10dp"
|
157 |
|
|
android:paddingRight="5dp" />
|
158 |
ef0fd531
|
Leszek Koltunski
|
|
159 |
|
|
<SeekBar
|
160 |
|
|
android:id="@+id/dynamicSeekNoise1"
|
161 |
|
|
android:layout_width="match_parent"
|
162 |
|
|
android:layout_height="wrap_content"
|
163 |
|
|
android:layout_weight="1"
|
164 |
|
|
android:paddingLeft="5dp"
|
165 |
2666a48c
|
Leszek Koltunski
|
android:paddingRight="5dp" />
|
166 |
ef0fd531
|
Leszek Koltunski
|
|
167 |
|
|
<SeekBar
|
168 |
|
|
android:id="@+id/dynamicSeekNoise2"
|
169 |
|
|
android:layout_width="match_parent"
|
170 |
427ab7bf
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
171 |
ef0fd531
|
Leszek Koltunski
|
android:layout_weight="1"
|
172 |
|
|
android:paddingLeft="5dp"
|
173 |
d586fda6
|
Leszek Koltunski
|
android:paddingRight="5dp" />
|
174 |
|
|
|
175 |
|
|
<SeekBar
|
176 |
|
|
android:id="@+id/dynamicSeekNoise3"
|
177 |
|
|
android:layout_width="match_parent"
|
178 |
|
|
android:layout_height="wrap_content"
|
179 |
|
|
android:layout_weight="1"
|
180 |
|
|
android:paddingLeft="5dp"
|
181 |
ef0fd531
|
Leszek Koltunski
|
android:paddingRight="10dp" />
|
182 |
|
|
</LinearLayout>
|
183 |
|
|
|
184 |
427ab7bf
|
Leszek Koltunski
|
</LinearLayout>
|
185 |
|
|
|
186 |
8db5b725
|
Leszek Koltunski
|
<org.distorted.examples.dynamic.DynamicSurfaceView
|
187 |
|
|
android:id="@+id/dynamicSurfaceView"
|
188 |
|
|
android:layout_width="fill_parent"
|
189 |
|
|
android:layout_height="0dp"
|
190 |
e52efe17
|
Leszek Koltunski
|
android:layout_weight="0.8" />
|
191 |
|
|
|
192 |
|
|
<org.distorted.examples.dynamic.DynamicSpeedSurfaceView
|
193 |
|
|
android:id="@+id/dynamicSpeedSurfaceView"
|
194 |
|
|
android:layout_width="fill_parent"
|
195 |
|
|
android:layout_height="0dp"
|
196 |
|
|
android:layout_weight="0.2" />
|
197 |
8db5b725
|
Leszek Koltunski
|
|
198 |
|
|
<LinearLayout
|
199 |
|
|
android:orientation="horizontal"
|
200 |
|
|
android:layout_width="match_parent"
|
201 |
da77ffd8
|
Leszek Koltunski
|
android:layout_height="48dp"
|
202 |
|
|
android:paddingTop="5dp">
|
203 |
8db5b725
|
Leszek Koltunski
|
|
204 |
|
|
<Button
|
205 |
|
|
android:id="@+id/dynamicButtonStart"
|
206 |
|
|
android:layout_width="wrap_content"
|
207 |
|
|
android:layout_height="match_parent"
|
208 |
|
|
android:layout_weight="0.5"
|
209 |
|
|
android:paddingLeft="10dp"
|
210 |
|
|
android:paddingRight="10dp"
|
211 |
|
|
android:onClick="Start"
|
212 |
|
|
android:text="@string/start" />
|
213 |
|
|
|
214 |
|
|
<Button
|
215 |
|
|
android:id="@+id/dynamicButtonReset"
|
216 |
|
|
android:layout_width="wrap_content"
|
217 |
|
|
android:layout_height="match_parent"
|
218 |
|
|
android:layout_weight="0.5"
|
219 |
|
|
android:paddingLeft="10dp"
|
220 |
|
|
android:paddingRight="10dp"
|
221 |
|
|
android:onClick="Reset"
|
222 |
|
|
android:text="@string/reset" />
|
223 |
|
|
</LinearLayout>
|
224 |
|
|
|
225 |
427ab7bf
|
Leszek Koltunski
|
</LinearLayout>
|