1 |
100e2da7
|
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.flag.FlagSurfaceView
|
8 |
|
|
android:id="@+id/flagSurfaceView"
|
9 |
|
|
android:layout_width="fill_parent"
|
10 |
|
|
android:layout_height="0dp"
|
11 |
|
|
android:layout_weight="0.85" />
|
12 |
|
|
|
13 |
|
|
<TableLayout
|
14 |
|
|
android:layout_width="match_parent"
|
15 |
|
|
android:layout_height="wrap_content"
|
16 |
072682e6
|
Leszek Koltunski
|
android:paddingLeft="3dp"
|
17 |
|
|
android:paddingRight="3dp" >
|
18 |
100e2da7
|
Leszek Koltunski
|
|
19 |
|
|
<TableRow
|
20 |
|
|
android:id="@+id/tableRow1"
|
21 |
|
|
android:layout_width="wrap_content"
|
22 |
|
|
android:layout_height="wrap_content"
|
23 |
|
|
android:paddingBottom="5dp"
|
24 |
|
|
android:paddingTop="5dp" >
|
25 |
|
|
|
26 |
|
|
<TextView
|
27 |
|
|
android:id="@+id/flagAmplitude"
|
28 |
072682e6
|
Leszek Koltunski
|
android:layout_width="0dp"
|
29 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
30 |
072682e6
|
Leszek Koltunski
|
android:layout_weight="0.75"
|
31 |
|
|
android:gravity="bottom|left"
|
32 |
100e2da7
|
Leszek Koltunski
|
android:text="@string/amplitude"
|
33 |
072682e6
|
Leszek Koltunski
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
34 |
100e2da7
|
Leszek Koltunski
|
|
35 |
|
|
<SeekBar
|
36 |
|
|
android:id="@+id/flagSeekAmplitude"
|
37 |
072682e6
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
38 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
39 |
|
|
android:layout_weight="1"
|
40 |
072682e6
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
41 |
|
|
android:paddingRight="5dp" />
|
42 |
100e2da7
|
Leszek Koltunski
|
|
43 |
|
|
<TextView
|
44 |
|
|
android:id="@+id/flagNoiseAmplitude"
|
45 |
072682e6
|
Leszek Koltunski
|
android:layout_width="0dp"
|
46 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
47 |
072682e6
|
Leszek Koltunski
|
android:layout_weight="0.6"
|
48 |
|
|
android:gravity="center_vertical|left"
|
49 |
100e2da7
|
Leszek Koltunski
|
android:text="@string/noise"
|
50 |
072682e6
|
Leszek Koltunski
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
51 |
100e2da7
|
Leszek Koltunski
|
|
52 |
|
|
<SeekBar
|
53 |
|
|
android:id="@+id/flagSeekNoiseAmplitude"
|
54 |
072682e6
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
55 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
56 |
|
|
android:layout_weight="1"
|
57 |
072682e6
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
58 |
|
|
android:paddingRight="5dp" />
|
59 |
100e2da7
|
Leszek Koltunski
|
|
60 |
|
|
</TableRow>
|
61 |
|
|
|
62 |
|
|
<TableRow
|
63 |
|
|
android:id="@+id/tableRow2"
|
64 |
|
|
android:layout_width="wrap_content"
|
65 |
|
|
android:layout_height="wrap_content"
|
66 |
|
|
android:paddingBottom="5dp"
|
67 |
|
|
android:paddingTop="5dp" >
|
68 |
|
|
|
69 |
|
|
<TextView
|
70 |
|
|
android:id="@+id/flagLength"
|
71 |
072682e6
|
Leszek Koltunski
|
android:layout_width="0dp"
|
72 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
73 |
072682e6
|
Leszek Koltunski
|
android:layout_weight="0.75"
|
74 |
|
|
android:gravity="left|center_vertical"
|
75 |
100e2da7
|
Leszek Koltunski
|
android:text="@string/length"
|
76 |
072682e6
|
Leszek Koltunski
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
77 |
100e2da7
|
Leszek Koltunski
|
|
78 |
|
|
<SeekBar
|
79 |
|
|
android:id="@+id/flagSeekLength"
|
80 |
072682e6
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
81 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
82 |
|
|
android:layout_weight="1"
|
83 |
072682e6
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
84 |
|
|
android:paddingRight="5dp" />
|
85 |
100e2da7
|
Leszek Koltunski
|
|
86 |
|
|
<TextView
|
87 |
|
|
android:id="@+id/flagNoiseLength"
|
88 |
072682e6
|
Leszek Koltunski
|
android:layout_width="0dp"
|
89 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
90 |
072682e6
|
Leszek Koltunski
|
android:layout_weight="0.6"
|
91 |
|
|
android:gravity="center_vertical|left"
|
92 |
100e2da7
|
Leszek Koltunski
|
android:text="@string/noise"
|
93 |
072682e6
|
Leszek Koltunski
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
94 |
100e2da7
|
Leszek Koltunski
|
|
95 |
|
|
<SeekBar
|
96 |
|
|
android:id="@+id/flagSeekNoiseLength"
|
97 |
072682e6
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
98 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
99 |
|
|
android:layout_weight="1"
|
100 |
072682e6
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
101 |
|
|
android:paddingRight="5dp" />
|
102 |
100e2da7
|
Leszek Koltunski
|
|
103 |
|
|
</TableRow>
|
104 |
|
|
|
105 |
|
|
<TableRow
|
106 |
|
|
android:id="@+id/tableRow3"
|
107 |
|
|
android:layout_width="wrap_content"
|
108 |
|
|
android:layout_height="wrap_content"
|
109 |
|
|
android:paddingBottom="5dp"
|
110 |
|
|
android:paddingTop="5dp" >
|
111 |
|
|
|
112 |
|
|
<TextView
|
113 |
|
|
android:id="@+id/flagAngleA"
|
114 |
072682e6
|
Leszek Koltunski
|
android:layout_width="0dp"
|
115 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
116 |
072682e6
|
Leszek Koltunski
|
android:layout_weight="0.75"
|
117 |
|
|
android:gravity="left|center_vertical"
|
118 |
100e2da7
|
Leszek Koltunski
|
android:text="@string/angleA"
|
119 |
072682e6
|
Leszek Koltunski
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
120 |
100e2da7
|
Leszek Koltunski
|
|
121 |
|
|
<SeekBar
|
122 |
|
|
android:id="@+id/flagSeekAngleA"
|
123 |
072682e6
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
124 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
125 |
|
|
android:layout_weight="1"
|
126 |
072682e6
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
127 |
|
|
android:paddingRight="5dp" />
|
128 |
100e2da7
|
Leszek Koltunski
|
|
129 |
|
|
<TextView
|
130 |
|
|
android:id="@+id/flagNoiseAngleA"
|
131 |
072682e6
|
Leszek Koltunski
|
android:layout_width="0dp"
|
132 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
133 |
072682e6
|
Leszek Koltunski
|
android:layout_weight="0.6"
|
134 |
|
|
android:gravity="center_vertical|left"
|
135 |
100e2da7
|
Leszek Koltunski
|
android:text="@string/noise"
|
136 |
072682e6
|
Leszek Koltunski
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
137 |
100e2da7
|
Leszek Koltunski
|
|
138 |
|
|
<SeekBar
|
139 |
|
|
android:id="@+id/flagSeekNoiseAngleA"
|
140 |
072682e6
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
141 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
142 |
|
|
android:layout_weight="1"
|
143 |
072682e6
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
144 |
|
|
android:paddingRight="5dp" />
|
145 |
100e2da7
|
Leszek Koltunski
|
|
146 |
|
|
</TableRow>
|
147 |
|
|
|
148 |
|
|
<TableRow
|
149 |
|
|
android:id="@+id/tableRow4"
|
150 |
|
|
android:layout_width="wrap_content"
|
151 |
|
|
android:layout_height="wrap_content"
|
152 |
|
|
android:paddingBottom="5dp"
|
153 |
|
|
android:paddingTop="5dp" >
|
154 |
|
|
|
155 |
|
|
<TextView
|
156 |
|
|
android:id="@+id/flagAngleB"
|
157 |
072682e6
|
Leszek Koltunski
|
android:layout_width="0dp"
|
158 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
159 |
072682e6
|
Leszek Koltunski
|
android:layout_weight="0.75"
|
160 |
|
|
android:gravity="left|center_vertical"
|
161 |
100e2da7
|
Leszek Koltunski
|
android:text="@string/angleB"
|
162 |
072682e6
|
Leszek Koltunski
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
163 |
100e2da7
|
Leszek Koltunski
|
|
164 |
|
|
<SeekBar
|
165 |
|
|
android:id="@+id/flagSeekAngleB"
|
166 |
072682e6
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
167 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
168 |
|
|
android:layout_weight="1"
|
169 |
072682e6
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
170 |
|
|
android:paddingRight="5dp" />
|
171 |
100e2da7
|
Leszek Koltunski
|
|
172 |
|
|
<TextView
|
173 |
|
|
android:id="@+id/flagNoiseAngleB"
|
174 |
072682e6
|
Leszek Koltunski
|
android:layout_width="0dp"
|
175 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
176 |
072682e6
|
Leszek Koltunski
|
android:layout_weight="0.6"
|
177 |
|
|
android:gravity="center_vertical|left"
|
178 |
100e2da7
|
Leszek Koltunski
|
android:text="@string/noise"
|
179 |
072682e6
|
Leszek Koltunski
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
180 |
100e2da7
|
Leszek Koltunski
|
|
181 |
|
|
<SeekBar
|
182 |
|
|
android:id="@+id/flagSeekNoiseAngleB"
|
183 |
072682e6
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
184 |
100e2da7
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
185 |
|
|
android:layout_weight="1"
|
186 |
072682e6
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
187 |
|
|
android:paddingRight="5dp" />
|
188 |
100e2da7
|
Leszek Koltunski
|
|
189 |
|
|
</TableRow>
|
190 |
|
|
|
191 |
|
|
</TableLayout>
|
192 |
|
|
|
193 |
|
|
</LinearLayout>
|