Project

General

Profile

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

magiccube / src / main / res / layout / config.xml @ 406c2fa5

1 58fd2ec0 leszek
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout  xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:id="@+id/mainLayout"
4
    android:layout_width="match_parent"
5
    android:layout_height="match_parent"
6
    android:background="@color/light_grey"
7
    android:orientation="vertical">
8
9
    <org.distorted.config.ConfigSurfaceView
10
        android:id="@+id/configSurfaceView"
11
        android:layout_width="match_parent"
12
        android:layout_height="0dp"
13
        android:layout_weight="1.3"/>
14
15
    <LinearLayout
16
        android:id="@+id/configLayout"
17
        android:layout_width="match_parent"
18
        android:layout_height="0dp"
19
        android:layout_weight="1.0"
20
        android:layout_marginLeft="5dp"
21
        android:layout_marginRight="5dp"
22
        android:layout_marginBottom="5dp"
23
        android:paddingLeft="5dp"
24
        android:paddingRight="5dp"
25
        android:background="@color/grey"
26
        android:orientation="vertical" >
27
28
        <TextView
29
            android:id="@+id/configTextStickers"
30
            android:layout_width="fill_parent"
31
            android:layout_height="wrap_content"
32
            android:gravity="center"
33
            android:textSize="26sp"
34 6bce6217 leszek
            android:text="@string/config_stickers"/>
35 58fd2ec0 leszek
36 14da3188 leszek
        <LinearLayout
37
            android:layout_width="match_parent"
38
            android:layout_height="wrap_content"
39
            android:layout_margin="5dp"
40
            android:paddingLeft="5dp"
41
            android:paddingRight="5dp"
42
            android:background="@color/grey"
43
            android:orientation="horizontal" >
44
45
            <TextView
46
                android:id="@+id/configTextBorder"
47
                android:layout_width="wrap_content"
48
                android:layout_height="wrap_content"
49
                android:gravity="center_vertical|start"
50
                android:textSize="26sp"
51
                android:text="@string/config_border"/>
52
53
            <SeekBar
54
                android:id="@+id/configSeekBarBorder"
55
                style="@style/Widget.AppCompat.SeekBar.Discrete"
56
                android:layout_width="119dp"
57
                android:layout_height="match_parent"
58
                android:gravity="center_vertical|end"
59
                android:max="4"
60
                android:progress="2" />
61
        </LinearLayout>
62
63
        <LinearLayout
64
            android:layout_width="match_parent"
65
            android:layout_height="wrap_content"
66
            android:layout_margin="5dp"
67
            android:paddingLeft="5dp"
68
            android:paddingRight="5dp"
69
            android:background="@color/grey"
70
            android:orientation="horizontal" >
71
72
            <TextView
73
                android:id="@+id/configTextCorner"
74
                android:layout_width="wrap_content"
75
                android:layout_height="wrap_content"
76
                android:gravity="center_vertical|start"
77
                android:textSize="26sp"
78
                android:text="@string/config_corner"/>
79
80
            <SeekBar
81
                android:id="@+id/configSeekBarCorner"
82
                style="@style/Widget.AppCompat.SeekBar.Discrete"
83
                android:layout_width="119dp"
84
                android:layout_height="match_parent"
85
                android:gravity="center_vertical|end"
86
                android:max="4"
87
                android:progress="2" />
88
        </LinearLayout>
89 58fd2ec0 leszek
    </LinearLayout>
90
91
    <LinearLayout
92
        android:id="@+id/lowerBar"
93
        android:layout_width="match_parent"
94
        android:layout_height="100dp"
95
        android:layout_gravity="end"
96
        android:orientation="horizontal"
97
        android:background="@color/light_grey">
98
    </LinearLayout>
99
100
</LinearLayout>