Project

General

Profile

Download (6.86 KB) Statistics
| Branch: | Revision:

examples / src / main / res / layout / flaglayout.xml @ bf3b5480

1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
              android:layout_width="fill_parent"
4
              android:layout_height="fill_parent"
5
              android:orientation="vertical" >
6

    
7
    <org.distorted.examples.flag.FlagSurfaceView
8
        android:id="@+id/flagSurfaceView"
9
        android:layout_width="fill_parent"
10
        android:layout_height="0dp"
11
        android:layout_weight="0.85" />
12

    
13
    <TableLayout
14
        android:layout_width="match_parent"
15
        android:layout_height="wrap_content"
16
        android:paddingLeft="3dp"
17
        android:paddingRight="3dp" >
18

    
19
        <TableRow
20
            android:id="@+id/tableRow1"
21
            android:layout_width="wrap_content"
22
            android:layout_height="wrap_content"
23
            android:paddingBottom="5dp"
24
            android:paddingTop="5dp" >
25

    
26
            <TextView
27
                android:id="@+id/flagAmplitude"
28
                android:layout_width="0dp"
29
                android:layout_height="wrap_content"
30
                android:layout_weight="1.0"
31
                android:layout_gravity="left|center_vertical"
32
                android:text="@string/amplitude"
33
                android:textAppearance="?android:attr/textAppearanceSmall" />
34

    
35
            <SeekBar
36
                android:id="@+id/flagSeekAmplitude"
37
                android:layout_width="wrap_content"
38
                android:layout_height="wrap_content"
39
                android:layout_weight="1"
40
                android:paddingRight="5dp" />
41

    
42
            <TextView
43
                android:id="@+id/flagNoiseAmplitude"
44
                android:layout_width="0dp"
45
                android:layout_height="wrap_content"
46
                android:layout_weight="0.9"
47
                android:layout_gravity="center_vertical|left"
48
                android:text="@string/noise"
49
                android:textAppearance="?android:attr/textAppearanceSmall" />
50

    
51
            <SeekBar
52
                android:id="@+id/flagSeekNoiseAmplitude"
53
                android:layout_width="wrap_content"
54
                android:layout_height="wrap_content"
55
                android:layout_weight="1"
56
                android:paddingRight="5dp" />
57

    
58
        </TableRow>
59

    
60
        <TableRow
61
            android:id="@+id/tableRow2"
62
            android:layout_width="wrap_content"
63
            android:layout_height="wrap_content"
64
            android:paddingBottom="5dp"
65
            android:paddingTop="5dp" >
66

    
67
            <TextView
68
                android:id="@+id/flagLength"
69
                android:layout_width="0dp"
70
                android:layout_height="wrap_content"
71
                android:layout_weight="1.0"
72
                android:layout_gravity="center_vertical|left"
73
                android:text="@string/length"
74
                android:textAppearance="?android:attr/textAppearanceSmall" />
75

    
76
            <SeekBar
77
                android:id="@+id/flagSeekLength"
78
                android:layout_width="wrap_content"
79
                android:layout_height="wrap_content"
80
                android:layout_weight="1"
81
                android:paddingRight="5dp" />
82

    
83
            <TextView
84
                android:id="@+id/flagNoiseLength"
85
                android:layout_width="0dp"
86
                android:layout_height="wrap_content"
87
                android:layout_weight="0.9"
88
                android:layout_gravity="center_vertical|left"
89
                android:text="@string/noise"
90
                android:textAppearance="?android:attr/textAppearanceSmall" />
91

    
92
            <SeekBar
93
                android:id="@+id/flagSeekNoiseLength"
94
                android:layout_width="wrap_content"
95
                android:layout_height="wrap_content"
96
                android:layout_weight="1"
97
                android:paddingRight="5dp" />
98

    
99
        </TableRow>
100

    
101
        <TableRow
102
            android:id="@+id/tableRow3"
103
            android:layout_width="wrap_content"
104
            android:layout_height="wrap_content"
105
            android:paddingBottom="5dp"
106
            android:paddingTop="5dp" >
107

    
108
            <TextView
109
                android:id="@+id/flagAngleA"
110
                android:layout_width="0dp"
111
                android:layout_height="wrap_content"
112
                android:layout_weight="1.0"
113
                android:layout_gravity="center_vertical|left"
114
                android:text="@string/angleA"
115
                android:textAppearance="?android:attr/textAppearanceSmall" />
116

    
117
            <SeekBar
118
                android:id="@+id/flagSeekAngleA"
119
                android:layout_width="wrap_content"
120
                android:layout_height="wrap_content"
121
                android:layout_weight="1"
122
                android:paddingRight="5dp" />
123

    
124
            <TextView
125
                android:id="@+id/flagNoiseAngleA"
126
                android:layout_width="0dp"
127
                android:layout_height="wrap_content"
128
                android:layout_weight="0.9"
129
                android:layout_gravity="center_vertical|left"
130
                android:text="@string/noise"
131
                android:textAppearance="?android:attr/textAppearanceSmall" />
132

    
133
            <SeekBar
134
                android:id="@+id/flagSeekNoiseAngleA"
135
                android:layout_width="wrap_content"
136
                android:layout_height="wrap_content"
137
                android:layout_weight="1"
138
                android:paddingRight="5dp" />
139

    
140
        </TableRow>
141

    
142
        <TableRow
143
            android:id="@+id/tableRow4"
144
            android:layout_width="wrap_content"
145
            android:layout_height="wrap_content"
146
            android:paddingBottom="5dp"
147
            android:paddingTop="5dp" >
148

    
149
            <TextView
150
                android:id="@+id/flagAngleB"
151
                android:layout_width="0dp"
152
                android:layout_height="wrap_content"
153
                android:layout_weight="1.0"
154
                android:layout_gravity="center_vertical|left"
155
                android:text="@string/angleB"
156
                android:textAppearance="?android:attr/textAppearanceSmall" />
157

    
158
            <SeekBar
159
                android:id="@+id/flagSeekAngleB"
160
                android:layout_width="wrap_content"
161
                android:layout_height="wrap_content"
162
                android:layout_weight="1"
163
                android:paddingRight="5dp" />
164

    
165
            <TextView
166
                android:id="@+id/flagNoiseAngleB"
167
                android:layout_width="0dp"
168
                android:layout_height="wrap_content"
169
                android:layout_weight="0.9"
170
                android:layout_gravity="center_vertical|left"
171
                android:text="@string/noise"
172
                android:textAppearance="?android:attr/textAppearanceSmall" />
173

    
174
            <SeekBar
175
                android:id="@+id/flagSeekNoiseAngleB"
176
                android:layout_width="wrap_content"
177
                android:layout_height="wrap_content"
178
                android:layout_weight="1"
179
                android:paddingRight="5dp" />
180

    
181
        </TableRow>
182

    
183
    </TableLayout>
184

    
185
</LinearLayout>
(24-24/47)