Project

General

Profile

Download (9.38 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / res / layout / settings.xml @ ffd48105

1 f6fcf06a Leszek Koltunski
<?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 5560eea9 Leszek Koltunski
        android:layout_height="48dp"
11 f6fcf06a Leszek Koltunski
        android:paddingStart="15dp"
12
        android:paddingEnd="15dp"
13 1cbcc6bf Leszek Koltunski
        android:gravity="start|center"
14 584f7954 Leszek Koltunski
        android:text="@string/sizechange_effect"
15 f6fcf06a Leszek Koltunski
        android:textAppearance="?android:attr/textAppearanceMedium" />
16
17
    <LinearLayout
18
        android:layout_width="fill_parent"
19 5560eea9 Leszek Koltunski
        android:layout_height="fill_parent"
20
        android:layout_weight="0.5"
21 f6fcf06a Leszek Koltunski
        android:gravity="center|fill_horizontal"
22 5560eea9 Leszek Koltunski
        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 584f7954 Leszek Koltunski
                android:id="@+id/sizechangeDurationText"
46 5560eea9 Leszek Koltunski
                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 584f7954 Leszek Koltunski
                android:id="@+id/sizechangeDuration"
56 5560eea9 Leszek Koltunski
                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 584f7954 Leszek Koltunski
                android:id="@+id/sizechangeType"
82 5560eea9 Leszek Koltunski
                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 f6fcf06a Leszek Koltunski
    </LinearLayout>
91
92 a7012218 Leszek Koltunski
    <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 30b68322 Leszek Koltunski
        android:layout_marginBottom="10dp"
109 a7012218 Leszek Koltunski
        android:background="@color/grey"
110
        android:orientation="vertical">
111
112
        <LinearLayout
113
            android:layout_width="fill_parent"
114
            android:layout_height="36dp"
115
            android:gravity="center|fill_horizontal"
116
            android:orientation="horizontal">
117
118
            <TextView
119
                android:layout_weight="0.2"
120
                android:layout_width="0dp"
121
                android:layout_height="fill_parent"
122
                android:paddingStart="5dp"
123
                android:paddingEnd="5dp"
124
                android:gravity="start|center"
125
                android:text="@string/duration"
126
                android:textAppearance="?android:attr/textAppearanceSmall" />
127
128
            <TextView
129
                android:id="@+id/unscrambleDurationText"
130
                android:layout_weight="0.2"
131
                android:layout_width="0dp"
132
                android:layout_height="fill_parent"
133
                android:paddingStart="5dp"
134
                android:paddingEnd="5dp"
135
                android:gravity="end|center"
136
                android:textAppearance="?android:attr/textAppearanceSmall" />
137
138
            <SeekBar
139
                android:id="@+id/unscrambleDuration"
140
                android:layout_weight="0.6"
141
                android:layout_width="0dp"
142
                android:layout_height="fill_parent"
143
                android:paddingLeft="10dp"
144
                android:paddingRight="10dp" />
145
146
        </LinearLayout>
147
148
        <LinearLayout
149
            android:layout_width="fill_parent"
150
            android:layout_height="36dp"
151
            android:gravity="center|fill_horizontal"
152
            android:orientation="horizontal">
153
154
            <TextView
155
                android:layout_weight="0.4"
156
                android:layout_width="0dp"
157
                android:layout_height="fill_parent"
158
                android:paddingStart="5dp"
159
                android:paddingEnd="5dp"
160
                android:gravity="start|center"
161
                android:text="@string/type"
162
                android:textAppearance="?android:attr/textAppearanceSmall" />
163
164
            <Spinner
165
                android:id="@+id/unscrambleType"
166
                android:layout_weight="0.6"
167
                android:layout_width="0dp"
168
                android:layout_height="fill_parent"
169
                android:textAlignment="center"
170
                android:paddingLeft="10dp"
171
                android:paddingRight="10dp" />
172
173
        </LinearLayout>
174
    </LinearLayout>
175
176 3b12e641 Leszek Koltunski
    <TextView
177
        android:layout_width="fill_parent"
178
        android:layout_height="48dp"
179
        android:paddingStart="15dp"
180
        android:paddingEnd="15dp"
181
        android:gravity="start|center"
182
        android:text="@string/scramble_effect"
183
        android:textAppearance="?android:attr/textAppearanceMedium" />
184
185
    <LinearLayout
186
        android:layout_width="fill_parent"
187
        android:layout_height="fill_parent"
188
        android:layout_weight="0.5"
189
        android:gravity="center|fill_horizontal"
190
        android:layout_marginLeft="10dp"
191
        android:layout_marginRight="10dp"
192
        android:background="@color/grey"
193
        android:orientation="vertical">
194
195
        <LinearLayout
196
            android:layout_width="fill_parent"
197
            android:layout_height="36dp"
198
            android:gravity="center|fill_horizontal"
199
            android:orientation="horizontal">
200
201
            <TextView
202
                android:layout_weight="0.2"
203
                android:layout_width="0dp"
204
                android:layout_height="fill_parent"
205
                android:paddingStart="5dp"
206
                android:paddingEnd="5dp"
207
                android:gravity="start|center"
208
                android:text="@string/duration"
209
                android:textAppearance="?android:attr/textAppearanceSmall" />
210
211
            <TextView
212
                android:id="@+id/scrambleDurationText"
213
                android:layout_weight="0.2"
214
                android:layout_width="0dp"
215
                android:layout_height="fill_parent"
216
                android:paddingStart="5dp"
217
                android:paddingEnd="5dp"
218
                android:gravity="end|center"
219
                android:textAppearance="?android:attr/textAppearanceSmall" />
220
221
            <SeekBar
222
                android:id="@+id/scrambleDuration"
223
                android:layout_weight="0.6"
224
                android:layout_width="0dp"
225
                android:layout_height="fill_parent"
226
                android:paddingLeft="10dp"
227
                android:paddingRight="10dp" />
228
229
        </LinearLayout>
230
231
        <LinearLayout
232
            android:layout_width="fill_parent"
233
            android:layout_height="36dp"
234
            android:gravity="center|fill_horizontal"
235
            android:orientation="horizontal">
236
237
            <TextView
238
                android:layout_weight="0.4"
239
                android:layout_width="0dp"
240
                android:layout_height="fill_parent"
241
                android:paddingStart="5dp"
242
                android:paddingEnd="5dp"
243
                android:gravity="start|center"
244
                android:text="@string/type"
245
                android:textAppearance="?android:attr/textAppearanceSmall" />
246
247
            <Spinner
248
                android:id="@+id/scrambleType"
249
                android:layout_weight="0.6"
250
                android:layout_width="0dp"
251
                android:layout_height="fill_parent"
252
                android:textAlignment="center"
253
                android:paddingLeft="10dp"
254
                android:paddingRight="10dp" />
255
256
        </LinearLayout>
257
    </LinearLayout>
258 f6fcf06a Leszek Koltunski
</LinearLayout>