Project

General

Profile

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

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

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
</LinearLayout>
(4-4/4)