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 |
94ff5962
|
leszek
|
android:layout_weight="3"/>
|
14 |
58fd2ec0
|
leszek
|
|
15 |
|
|
<LinearLayout
|
16 |
94ff5962
|
leszek
|
android:id="@+id/configLayoutUpper"
|
17 |
58fd2ec0
|
leszek
|
android:layout_width="match_parent"
|
18 |
|
|
android:layout_height="0dp"
|
19 |
94ff5962
|
leszek
|
android:layout_weight="0.75"
|
20 |
58fd2ec0
|
leszek
|
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 |
14da3188
|
leszek
|
<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 |
956e110f
|
leszek
|
android:layout_width="0dp"
|
39 |
|
|
android:layout_height="match_parent"
|
40 |
|
|
android:layout_weight="1"
|
41 |
14da3188
|
leszek
|
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 |
956e110f
|
leszek
|
android:layout_width="0dp"
|
49 |
14da3188
|
leszek
|
android:layout_height="match_parent"
|
50 |
956e110f
|
leszek
|
android:layout_weight="1"
|
51 |
14da3188
|
leszek
|
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 |
956e110f
|
leszek
|
android:layout_width="0dp"
|
67 |
|
|
android:layout_height="match_parent"
|
68 |
|
|
android:layout_weight="1"
|
69 |
14da3188
|
leszek
|
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 |
956e110f
|
leszek
|
android:layout_width="0dp"
|
77 |
14da3188
|
leszek
|
android:layout_height="match_parent"
|
78 |
956e110f
|
leszek
|
android:layout_weight="1"
|
79 |
14da3188
|
leszek
|
android:gravity="center_vertical|end"
|
80 |
|
|
android:max="4"
|
81 |
|
|
android:progress="2" />
|
82 |
|
|
</LinearLayout>
|
83 |
58fd2ec0
|
leszek
|
</LinearLayout>
|
84 |
|
|
|
85 |
94ff5962
|
leszek
|
<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 |
2659f9dd
|
leszek
|
android:gravity="center"
|
94 |
94ff5962
|
leszek
|
android:paddingLeft="5dp"
|
95 |
|
|
android:paddingRight="5dp"
|
96 |
|
|
android:background="@color/grey"
|
97 |
|
|
android:orientation="vertical" >
|
98 |
|
|
</LinearLayout>
|
99 |
|
|
|
100 |
58fd2ec0
|
leszek
|
<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>
|