Project

General

Profile

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

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

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
        android:layout_height="48dp"
11
        android:paddingStart="15dp"
12
        android:paddingEnd="15dp"
13
        android:gravity="start|bottom"
14
        android:text="@string/appear"
15
        android:textAppearance="?android:attr/textAppearanceMedium" />
16
17
    <LinearLayout
18
        android:layout_width="fill_parent"
19
        android:layout_height="48dp"
20
        android:gravity="center|fill_horizontal"
21
        android:orientation="horizontal">
22
23
        <SeekBar
24
            android:id="@+id/appearDuration"
25
            android:layout_weight="0.6"
26
            android:layout_width="fill_parent"
27
            android:layout_height="fill_parent"
28
            android:paddingLeft="10dp"
29
            android:paddingRight="10dp" />
30
31
        <Spinner
32
            android:id="@+id/appearType"
33
            android:layout_weight="0.4"
34
            android:layout_width="fill_parent"
35
            android:layout_height="fill_parent"
36
            android:textAlignment="center"
37
            android:paddingLeft="10dp"
38
            android:paddingRight="10dp" />
39
40
    </LinearLayout>
41
42
    <TextView
43
        android:layout_width="fill_parent"
44
        android:layout_height="48dp"
45
        android:paddingStart="15dp"
46
        android:paddingEnd="15dp"
47
        android:gravity="start|bottom"
48
        android:text="@string/disappear"
49
        android:textAppearance="?android:attr/textAppearanceMedium" />
50
51
    <LinearLayout
52
        android:layout_width="fill_parent"
53
        android:layout_height="48dp"
54
        android:gravity="center|fill_horizontal"
55
        android:orientation="horizontal">
56
57
        <SeekBar
58
            android:id="@+id/disappearDuration"
59
            android:layout_weight="0.6"
60
            android:layout_width="fill_parent"
61
            android:layout_height="fill_parent"
62
            android:paddingLeft="10dp"
63
            android:paddingRight="10dp" />
64
65
        <Spinner
66
            android:id="@+id/disappearType"
67
            android:layout_weight="0.4"
68
            android:layout_width="fill_parent"
69
            android:layout_height="fill_parent"
70
            android:textAlignment="center"
71
            android:paddingLeft="10dp"
72
            android:paddingRight="10dp" />
73
74
    </LinearLayout>
75
76
</LinearLayout>