Project

General

Profile

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

magiccube / src / main / res / layout / config.xml @ 956e110f

1
<?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="3"/>
14

    
15
    <LinearLayout
16
        android:id="@+id/configLayoutUpper"
17
        android:layout_width="match_parent"
18
        android:layout_height="0dp"
19
        android:layout_weight="0.75"
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
        <LinearLayout
29
            android:layout_width="match_parent"
30
            android:layout_height="wrap_content"
31
            android:layout_margin="5dp"
32
            android:paddingLeft="5dp"
33
            android:paddingRight="5dp"
34
            android:orientation="horizontal" >
35

    
36
            <TextView
37
                android:id="@+id/configTextBorder"
38
                android:layout_width="0dp"
39
                android:layout_height="match_parent"
40
                android:layout_weight="1"
41
                android:gravity="center_vertical|start"
42
                android:textSize="26sp"
43
                android:text="@string/config_border"/>
44

    
45
            <SeekBar
46
                android:id="@+id/configSeekBarBorder"
47
                style="@style/Widget.AppCompat.SeekBar.Discrete"
48
                android:layout_width="0dp"
49
                android:layout_height="match_parent"
50
                android:layout_weight="1"
51
                android:gravity="center_vertical|end"
52
                android:max="4"
53
                android:progress="2" />
54
        </LinearLayout>
55

    
56
        <LinearLayout
57
            android:layout_width="match_parent"
58
            android:layout_height="wrap_content"
59
            android:layout_margin="5dp"
60
            android:paddingLeft="5dp"
61
            android:paddingRight="5dp"
62
            android:orientation="horizontal" >
63

    
64
            <TextView
65
                android:id="@+id/configTextCorner"
66
                android:layout_width="0dp"
67
                android:layout_height="match_parent"
68
                android:layout_weight="1"
69
                android:gravity="center_vertical|start"
70
                android:textSize="26sp"
71
                android:text="@string/config_corner"/>
72

    
73
            <SeekBar
74
                android:id="@+id/configSeekBarCorner"
75
                style="@style/Widget.AppCompat.SeekBar.Discrete"
76
                android:layout_width="0dp"
77
                android:layout_height="match_parent"
78
                android:layout_weight="1"
79
                android:gravity="center_vertical|end"
80
                android:max="4"
81
                android:progress="2" />
82
        </LinearLayout>
83
    </LinearLayout>
84

    
85
    <LinearLayout
86
        android:id="@+id/configLayoutLower"
87
        android:layout_width="match_parent"
88
        android:layout_height="0dp"
89
        android:layout_weight="2"
90
        android:layout_marginLeft="5dp"
91
        android:layout_marginRight="5dp"
92
        android:layout_marginBottom="5dp"
93
        android:gravity="center"
94
        android:paddingLeft="5dp"
95
        android:paddingRight="5dp"
96
        android:background="@color/grey"
97
        android:orientation="vertical" >
98
    </LinearLayout>
99

    
100
    <LinearLayout
101
        android:id="@+id/lowerBar"
102
        android:layout_width="match_parent"
103
        android:layout_height="100dp"
104
        android:layout_gravity="end"
105
        android:orientation="horizontal"
106
        android:background="@color/light_grey">
107
    </LinearLayout>
108

    
109
</LinearLayout>
(3-3/56)