Project

General

Profile

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

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

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="0.75"
31
                android:gravity="bottom|left"
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:paddingLeft="5dp"
41
                android:paddingRight="5dp" />
42

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

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

    
60
        </TableRow>
61

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

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

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

    
86
            <TextView
87
                android:id="@+id/flagNoiseLength"
88
                android:layout_width="0dp"
89
                android:layout_height="wrap_content"
90
                android:layout_weight="0.6"
91
                android:gravity="center_vertical|left"
92
                android:text="@string/noise"
93
                android:textAppearance="?android:attr/textAppearanceSmall" />
94

    
95
            <SeekBar
96
                android:id="@+id/flagSeekNoiseLength"
97
                android:layout_width="wrap_content"
98
                android:layout_height="wrap_content"
99
                android:layout_weight="1"
100
                android:paddingLeft="5dp"
101
                android:paddingRight="5dp" />
102

    
103
        </TableRow>
104

    
105
        <TableRow
106
            android:id="@+id/tableRow3"
107
            android:layout_width="wrap_content"
108
            android:layout_height="wrap_content"
109
            android:paddingBottom="5dp"
110
            android:paddingTop="5dp" >
111

    
112
            <TextView
113
                android:id="@+id/flagAngleA"
114
                android:layout_width="0dp"
115
                android:layout_height="wrap_content"
116
                android:layout_weight="0.75"
117
                android:gravity="left|center_vertical"
118
                android:text="@string/angleA"
119
                android:textAppearance="?android:attr/textAppearanceSmall" />
120

    
121
            <SeekBar
122
                android:id="@+id/flagSeekAngleA"
123
                android:layout_width="wrap_content"
124
                android:layout_height="wrap_content"
125
                android:layout_weight="1"
126
                android:paddingLeft="5dp"
127
                android:paddingRight="5dp" />
128

    
129
            <TextView
130
                android:id="@+id/flagNoiseAngleA"
131
                android:layout_width="0dp"
132
                android:layout_height="wrap_content"
133
                android:layout_weight="0.6"
134
                android:gravity="center_vertical|left"
135
                android:text="@string/noise"
136
                android:textAppearance="?android:attr/textAppearanceSmall" />
137

    
138
            <SeekBar
139
                android:id="@+id/flagSeekNoiseAngleA"
140
                android:layout_width="wrap_content"
141
                android:layout_height="wrap_content"
142
                android:layout_weight="1"
143
                android:paddingLeft="5dp"
144
                android:paddingRight="5dp" />
145

    
146
        </TableRow>
147

    
148
        <TableRow
149
            android:id="@+id/tableRow4"
150
            android:layout_width="wrap_content"
151
            android:layout_height="wrap_content"
152
            android:paddingBottom="5dp"
153
            android:paddingTop="5dp" >
154

    
155
            <TextView
156
                android:id="@+id/flagAngleB"
157
                android:layout_width="0dp"
158
                android:layout_height="wrap_content"
159
                android:layout_weight="0.75"
160
                android:gravity="left|center_vertical"
161
                android:text="@string/angleB"
162
                android:textAppearance="?android:attr/textAppearanceSmall" />
163

    
164
            <SeekBar
165
                android:id="@+id/flagSeekAngleB"
166
                android:layout_width="wrap_content"
167
                android:layout_height="wrap_content"
168
                android:layout_weight="1"
169
                android:paddingLeft="5dp"
170
                android:paddingRight="5dp" />
171

    
172
            <TextView
173
                android:id="@+id/flagNoiseAngleB"
174
                android:layout_width="0dp"
175
                android:layout_height="wrap_content"
176
                android:layout_weight="0.6"
177
                android:gravity="center_vertical|left"
178
                android:text="@string/noise"
179
                android:textAppearance="?android:attr/textAppearanceSmall" />
180

    
181
            <SeekBar
182
                android:id="@+id/flagSeekNoiseAngleB"
183
                android:layout_width="wrap_content"
184
                android:layout_height="wrap_content"
185
                android:layout_weight="1"
186
                android:paddingLeft="5dp"
187
                android:paddingRight="5dp" />
188

    
189
        </TableRow>
190

    
191
    </TableLayout>
192

    
193
</LinearLayout>
(19-19/30)