Revision 3b12e641
Added by Leszek Koltunski almost 5 years ago
src/main/res/layout/settings.xml | ||
---|---|---|
172 | 172 |
</LinearLayout> |
173 | 173 |
</LinearLayout> |
174 | 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> |
|
175 | 257 |
</LinearLayout> |
Also available in: Unified diff
Add a skeleton of ScrambleEffects