Project

General

Profile

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

magiccube / src / main / res / layout / config.xml @ e1637420

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="wrap_content"
39
                android:layout_height="wrap_content"
40
                android:gravity="center_vertical|start"
41
                android:textSize="26sp"
42
                android:text="@string/config_border"/>
43

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

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

    
62
            <TextView
63
                android:id="@+id/configTextCorner"
64
                android:layout_width="wrap_content"
65
                android:layout_height="wrap_content"
66
                android:gravity="center_vertical|start"
67
                android:textSize="26sp"
68
                android:text="@string/config_corner"/>
69

    
70
            <SeekBar
71
                android:id="@+id/configSeekBarCorner"
72
                style="@style/Widget.AppCompat.SeekBar.Discrete"
73
                android:layout_width="119dp"
74
                android:layout_height="match_parent"
75
                android:gravity="center_vertical|end"
76
                android:max="4"
77
                android:progress="2" />
78
        </LinearLayout>
79
    </LinearLayout>
80

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

    
96
    <LinearLayout
97
        android:id="@+id/lowerBar"
98
        android:layout_width="match_parent"
99
        android:layout_height="100dp"
100
        android:layout_gravity="end"
101
        android:orientation="horizontal"
102
        android:background="@color/light_grey">
103
    </LinearLayout>
104

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