1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
android:layout_width="match_parent"
|
4
|
android:layout_height="match_parent"
|
5
|
android:gravity="center_horizontal"
|
6
|
android:orientation="vertical">
|
7
|
|
8
|
<TextView
|
9
|
android:layout_width="fill_parent"
|
10
|
android:layout_height="48dp"
|
11
|
android:paddingStart="15dp"
|
12
|
android:paddingEnd="15dp"
|
13
|
android:gravity="start|center"
|
14
|
android:text="@string/sizechange_effect"
|
15
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
16
|
|
17
|
<LinearLayout
|
18
|
android:layout_width="fill_parent"
|
19
|
android:layout_height="fill_parent"
|
20
|
android:layout_weight="0.5"
|
21
|
android:gravity="center|fill_horizontal"
|
22
|
android:layout_marginLeft="10dp"
|
23
|
android:layout_marginRight="10dp"
|
24
|
android:layout_marginBottom="10dp"
|
25
|
android:background="@color/grey"
|
26
|
android:orientation="vertical">
|
27
|
|
28
|
<LinearLayout
|
29
|
android:layout_width="fill_parent"
|
30
|
android:layout_height="36dp"
|
31
|
android:gravity="center|fill_horizontal"
|
32
|
android:orientation="horizontal">
|
33
|
|
34
|
<TextView
|
35
|
android:layout_weight="0.2"
|
36
|
android:layout_width="0dp"
|
37
|
android:layout_height="fill_parent"
|
38
|
android:paddingStart="5dp"
|
39
|
android:paddingEnd="5dp"
|
40
|
android:gravity="start|center"
|
41
|
android:text="@string/duration"
|
42
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
43
|
|
44
|
<TextView
|
45
|
android:id="@+id/sizechangeDurationText"
|
46
|
android:layout_weight="0.2"
|
47
|
android:layout_width="0dp"
|
48
|
android:layout_height="fill_parent"
|
49
|
android:paddingStart="5dp"
|
50
|
android:paddingEnd="5dp"
|
51
|
android:gravity="end|center"
|
52
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
53
|
|
54
|
<SeekBar
|
55
|
android:id="@+id/sizechangeDuration"
|
56
|
android:layout_weight="0.6"
|
57
|
android:layout_width="0dp"
|
58
|
android:layout_height="fill_parent"
|
59
|
android:paddingLeft="10dp"
|
60
|
android:paddingRight="10dp" />
|
61
|
|
62
|
</LinearLayout>
|
63
|
|
64
|
<LinearLayout
|
65
|
android:layout_width="fill_parent"
|
66
|
android:layout_height="36dp"
|
67
|
android:gravity="center|fill_horizontal"
|
68
|
android:orientation="horizontal">
|
69
|
|
70
|
<TextView
|
71
|
android:layout_weight="0.4"
|
72
|
android:layout_width="0dp"
|
73
|
android:layout_height="fill_parent"
|
74
|
android:paddingStart="5dp"
|
75
|
android:paddingEnd="5dp"
|
76
|
android:gravity="start|center"
|
77
|
android:text="@string/type"
|
78
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
79
|
|
80
|
<Spinner
|
81
|
android:id="@+id/sizechangeType"
|
82
|
android:layout_weight="0.6"
|
83
|
android:layout_width="0dp"
|
84
|
android:layout_height="fill_parent"
|
85
|
android:textAlignment="center"
|
86
|
android:paddingLeft="10dp"
|
87
|
android:paddingRight="10dp" />
|
88
|
|
89
|
</LinearLayout>
|
90
|
</LinearLayout>
|
91
|
|
92
|
<TextView
|
93
|
android:layout_width="fill_parent"
|
94
|
android:layout_height="48dp"
|
95
|
android:paddingStart="15dp"
|
96
|
android:paddingEnd="15dp"
|
97
|
android:gravity="start|center"
|
98
|
android:text="@string/unscramble_effect"
|
99
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
100
|
|
101
|
<LinearLayout
|
102
|
android:layout_width="fill_parent"
|
103
|
android:layout_height="fill_parent"
|
104
|
android:layout_weight="0.5"
|
105
|
android:gravity="center|fill_horizontal"
|
106
|
android:layout_marginLeft="10dp"
|
107
|
android:layout_marginRight="10dp"
|
108
|
android:background="@color/grey"
|
109
|
android:orientation="vertical">
|
110
|
|
111
|
<LinearLayout
|
112
|
android:layout_width="fill_parent"
|
113
|
android:layout_height="36dp"
|
114
|
android:gravity="center|fill_horizontal"
|
115
|
android:orientation="horizontal">
|
116
|
|
117
|
<TextView
|
118
|
android:layout_weight="0.2"
|
119
|
android:layout_width="0dp"
|
120
|
android:layout_height="fill_parent"
|
121
|
android:paddingStart="5dp"
|
122
|
android:paddingEnd="5dp"
|
123
|
android:gravity="start|center"
|
124
|
android:text="@string/duration"
|
125
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
126
|
|
127
|
<TextView
|
128
|
android:id="@+id/unscrambleDurationText"
|
129
|
android:layout_weight="0.2"
|
130
|
android:layout_width="0dp"
|
131
|
android:layout_height="fill_parent"
|
132
|
android:paddingStart="5dp"
|
133
|
android:paddingEnd="5dp"
|
134
|
android:gravity="end|center"
|
135
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
136
|
|
137
|
<SeekBar
|
138
|
android:id="@+id/unscrambleDuration"
|
139
|
android:layout_weight="0.6"
|
140
|
android:layout_width="0dp"
|
141
|
android:layout_height="fill_parent"
|
142
|
android:paddingLeft="10dp"
|
143
|
android:paddingRight="10dp" />
|
144
|
|
145
|
</LinearLayout>
|
146
|
|
147
|
<LinearLayout
|
148
|
android:layout_width="fill_parent"
|
149
|
android:layout_height="36dp"
|
150
|
android:gravity="center|fill_horizontal"
|
151
|
android:orientation="horizontal">
|
152
|
|
153
|
<TextView
|
154
|
android:layout_weight="0.4"
|
155
|
android:layout_width="0dp"
|
156
|
android:layout_height="fill_parent"
|
157
|
android:paddingStart="5dp"
|
158
|
android:paddingEnd="5dp"
|
159
|
android:gravity="start|center"
|
160
|
android:text="@string/type"
|
161
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
162
|
|
163
|
<Spinner
|
164
|
android:id="@+id/unscrambleType"
|
165
|
android:layout_weight="0.6"
|
166
|
android:layout_width="0dp"
|
167
|
android:layout_height="fill_parent"
|
168
|
android:textAlignment="center"
|
169
|
android:paddingLeft="10dp"
|
170
|
android:paddingRight="10dp" />
|
171
|
|
172
|
</LinearLayout>
|
173
|
</LinearLayout>
|
174
|
|
175
|
<TextView
|
176
|
android:layout_width="fill_parent"
|
177
|
android:layout_height="48dp"
|
178
|
android:paddingStart="15dp"
|
179
|
android:paddingEnd="15dp"
|
180
|
android:gravity="start|center"
|
181
|
android:text="@string/scramble_effect"
|
182
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
183
|
|
184
|
<LinearLayout
|
185
|
android:layout_width="fill_parent"
|
186
|
android:layout_height="fill_parent"
|
187
|
android:layout_weight="0.5"
|
188
|
android:gravity="center|fill_horizontal"
|
189
|
android:layout_marginLeft="10dp"
|
190
|
android:layout_marginRight="10dp"
|
191
|
android:background="@color/grey"
|
192
|
android:orientation="vertical">
|
193
|
|
194
|
<LinearLayout
|
195
|
android:layout_width="fill_parent"
|
196
|
android:layout_height="36dp"
|
197
|
android:gravity="center|fill_horizontal"
|
198
|
android:orientation="horizontal">
|
199
|
|
200
|
<TextView
|
201
|
android:layout_weight="0.2"
|
202
|
android:layout_width="0dp"
|
203
|
android:layout_height="fill_parent"
|
204
|
android:paddingStart="5dp"
|
205
|
android:paddingEnd="5dp"
|
206
|
android:gravity="start|center"
|
207
|
android:text="@string/duration"
|
208
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
209
|
|
210
|
<TextView
|
211
|
android:id="@+id/scrambleDurationText"
|
212
|
android:layout_weight="0.2"
|
213
|
android:layout_width="0dp"
|
214
|
android:layout_height="fill_parent"
|
215
|
android:paddingStart="5dp"
|
216
|
android:paddingEnd="5dp"
|
217
|
android:gravity="end|center"
|
218
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
219
|
|
220
|
<SeekBar
|
221
|
android:id="@+id/scrambleDuration"
|
222
|
android:layout_weight="0.6"
|
223
|
android:layout_width="0dp"
|
224
|
android:layout_height="fill_parent"
|
225
|
android:paddingLeft="10dp"
|
226
|
android:paddingRight="10dp" />
|
227
|
|
228
|
</LinearLayout>
|
229
|
|
230
|
<LinearLayout
|
231
|
android:layout_width="fill_parent"
|
232
|
android:layout_height="36dp"
|
233
|
android:gravity="center|fill_horizontal"
|
234
|
android:orientation="horizontal">
|
235
|
|
236
|
<TextView
|
237
|
android:layout_weight="0.4"
|
238
|
android:layout_width="0dp"
|
239
|
android:layout_height="fill_parent"
|
240
|
android:paddingStart="5dp"
|
241
|
android:paddingEnd="5dp"
|
242
|
android:gravity="start|center"
|
243
|
android:text="@string/type"
|
244
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
245
|
|
246
|
<Spinner
|
247
|
android:id="@+id/scrambleType"
|
248
|
android:layout_weight="0.6"
|
249
|
android:layout_width="0dp"
|
250
|
android:layout_height="fill_parent"
|
251
|
android:textAlignment="center"
|
252
|
android:paddingLeft="10dp"
|
253
|
android:paddingRight="10dp" />
|
254
|
|
255
|
</LinearLayout>
|
256
|
</LinearLayout>
|
257
|
</LinearLayout>
|