Project

General

Profile

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

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

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/disappear"
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:background="@color/grey"
25
        android:orientation="vertical">
26

    
27
        <LinearLayout
28
            android:layout_width="fill_parent"
29
            android:layout_height="36dp"
30
            android:gravity="center|fill_horizontal"
31
            android:orientation="horizontal">
32

    
33
            <TextView
34
                android:layout_weight="0.2"
35
                android:layout_width="0dp"
36
                android:layout_height="fill_parent"
37
                android:paddingStart="5dp"
38
                android:paddingEnd="5dp"
39
                android:gravity="start|center"
40
                android:text="@string/duration"
41
                android:textAppearance="?android:attr/textAppearanceSmall" />
42

    
43
            <TextView
44
                android:id="@+id/disappearDurationText"
45
                android:layout_weight="0.2"
46
                android:layout_width="0dp"
47
                android:layout_height="fill_parent"
48
                android:paddingStart="5dp"
49
                android:paddingEnd="5dp"
50
                android:gravity="end|center"
51
                android:textAppearance="?android:attr/textAppearanceSmall" />
52

    
53
            <SeekBar
54
                android:id="@+id/disappearDuration"
55
                android:layout_weight="0.6"
56
                android:layout_width="0dp"
57
                android:layout_height="fill_parent"
58
                android:paddingLeft="10dp"
59
                android:paddingRight="10dp" />
60

    
61
        </LinearLayout>
62

    
63
        <LinearLayout
64
            android:layout_width="fill_parent"
65
            android:layout_height="36dp"
66
            android:gravity="center|fill_horizontal"
67
            android:orientation="horizontal">
68

    
69
            <TextView
70
                android:layout_weight="0.4"
71
                android:layout_width="0dp"
72
                android:layout_height="fill_parent"
73
                android:paddingStart="5dp"
74
                android:paddingEnd="5dp"
75
                android:gravity="start|center"
76
                android:text="@string/type"
77
                android:textAppearance="?android:attr/textAppearanceSmall" />
78

    
79
            <Spinner
80
                android:id="@+id/disappearType"
81
                android:layout_weight="0.6"
82
                android:layout_width="0dp"
83
                android:layout_height="fill_parent"
84
                android:textAlignment="center"
85
                android:paddingLeft="10dp"
86
                android:paddingRight="10dp" />
87

    
88
        </LinearLayout>
89
    </LinearLayout>
90

    
91
    <TextView
92
        android:layout_width="fill_parent"
93
        android:layout_height="48dp"
94
        android:paddingStart="15dp"
95
        android:paddingEnd="15dp"
96
        android:gravity="start|center"
97
        android:text="@string/appear"
98
        android:textAppearance="?android:attr/textAppearanceMedium" />
99

    
100
    <LinearLayout
101
        android:layout_width="fill_parent"
102
        android:layout_height="fill_parent"
103
        android:layout_weight="0.5"
104
        android:gravity="center|fill_horizontal"
105
        android:layout_marginLeft="10dp"
106
        android:layout_marginRight="10dp"
107
        android:layout_marginBottom="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/appearDurationText"
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/appearDuration"
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/appearType"
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)