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:layout_gravity="fill_horizontal"
|
6
|
android:gravity="fill_horizontal"
|
7
|
android:orientation="vertical" >
|
8
|
|
9
|
<org.distorted.examples.dynamic.DynamicSurfaceView
|
10
|
android:id="@+id/dynamicSurfaceView"
|
11
|
android:layout_width="fill_parent"
|
12
|
android:layout_height="0dp"
|
13
|
android:layout_weight="1" />
|
14
|
|
15
|
<RadioGroup
|
16
|
android:id="@+id/radioGroup2"
|
17
|
android:layout_width="wrap_content"
|
18
|
android:layout_height="wrap_content"
|
19
|
android:gravity="fill_horizontal"
|
20
|
android:orientation="horizontal"
|
21
|
android:paddingBottom="5dp"
|
22
|
android:paddingTop="5dp"
|
23
|
android:weightSum="1.0" >
|
24
|
|
25
|
<RadioButton
|
26
|
android:id="@+id/dynamic1D"
|
27
|
android:layout_width="fill_parent"
|
28
|
android:layout_height="wrap_content"
|
29
|
android:layout_weight="0.25"
|
30
|
android:onClick="Dim1D"
|
31
|
android:text="@string/dim1D" />
|
32
|
|
33
|
<RadioButton
|
34
|
android:id="@+id/dynamic2D"
|
35
|
android:layout_width="fill_parent"
|
36
|
android:layout_height="wrap_content"
|
37
|
android:layout_weight="0.25"
|
38
|
android:checked="true"
|
39
|
android:onClick="Dim2D"
|
40
|
android:text="@string/dim2D" />
|
41
|
|
42
|
<RadioButton
|
43
|
android:id="@+id/dynamic3DXY"
|
44
|
android:layout_width="fill_parent"
|
45
|
android:layout_height="wrap_content"
|
46
|
android:layout_weight="0.25"
|
47
|
android:onClick="Dim3DXY"
|
48
|
android:text="@string/dim3DXY" />
|
49
|
|
50
|
<RadioButton
|
51
|
android:id="@+id/dynamic3DXZ"
|
52
|
android:layout_width="fill_parent"
|
53
|
android:layout_height="wrap_content"
|
54
|
android:layout_weight="0.25"
|
55
|
android:onClick="Dim3DXZ"
|
56
|
android:text="@string/dim3DXZ" />
|
57
|
|
58
|
</RadioGroup>
|
59
|
|
60
|
<RadioGroup
|
61
|
android:id="@+id/radioGroup1"
|
62
|
android:layout_width="wrap_content"
|
63
|
android:layout_height="wrap_content"
|
64
|
android:orientation="horizontal"
|
65
|
android:paddingRight="20dp" >
|
66
|
|
67
|
<RadioButton
|
68
|
android:id="@+id/dynamicLoopButton"
|
69
|
android:layout_width="wrap_content"
|
70
|
android:layout_height="wrap_content"
|
71
|
android:checked="true"
|
72
|
android:onClick="Loop"
|
73
|
android:text="@string/loop" />
|
74
|
|
75
|
<RadioButton
|
76
|
android:id="@+id/dynamicPathButton"
|
77
|
android:layout_width="wrap_content"
|
78
|
android:layout_height="wrap_content"
|
79
|
android:checked="false"
|
80
|
android:onClick="Path"
|
81
|
android:text="@string/path" />
|
82
|
|
83
|
<RadioButton
|
84
|
android:id="@+id/dynamicJumpButton"
|
85
|
android:layout_width="wrap_content"
|
86
|
android:layout_height="wrap_content"
|
87
|
android:checked="false"
|
88
|
android:onClick="Jump"
|
89
|
android:text="@string/jump" />
|
90
|
|
91
|
</RadioGroup>
|
92
|
|
93
|
<LinearLayout
|
94
|
android:id="@+id/linearLayout1"
|
95
|
android:layout_width="fill_parent"
|
96
|
android:layout_height="wrap_content"
|
97
|
android:layout_gravity="center_vertical"
|
98
|
android:gravity="center|fill_horizontal"
|
99
|
android:orientation="vertical">
|
100
|
|
101
|
<TextView
|
102
|
android:id="@+id/dynamicTextDuration"
|
103
|
android:layout_width="wrap_content"
|
104
|
android:layout_height="wrap_content"
|
105
|
android:layout_gravity="center_horizontal"
|
106
|
android:layout_weight="15"
|
107
|
android:paddingLeft="10dp"
|
108
|
android:text="@string/duration"
|
109
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
110
|
android:textSize="12sp" />
|
111
|
|
112
|
<SeekBar
|
113
|
android:id="@+id/dynamicSeekDuration"
|
114
|
android:layout_width="match_parent"
|
115
|
android:layout_height="wrap_content"
|
116
|
android:layout_weight="15"
|
117
|
android:paddingLeft="5dp"
|
118
|
android:paddingRight="10dp" />
|
119
|
|
120
|
<TextView
|
121
|
android:id="@+id/dynamicTextNoise"
|
122
|
android:layout_width="wrap_content"
|
123
|
android:layout_height="wrap_content"
|
124
|
android:layout_gravity="center_horizontal"
|
125
|
android:layout_weight="15"
|
126
|
android:paddingLeft="10dp"
|
127
|
android:text="@string/noise"
|
128
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
129
|
android:textSize="12sp" />
|
130
|
|
131
|
<LinearLayout
|
132
|
android:orientation="horizontal"
|
133
|
android:layout_width="match_parent"
|
134
|
android:layout_height="match_parent"
|
135
|
android:layout_weight="15">
|
136
|
|
137
|
<SeekBar
|
138
|
android:id="@+id/dynamicSeekNoise0"
|
139
|
android:layout_width="match_parent"
|
140
|
android:layout_height="wrap_content"
|
141
|
android:layout_weight="1"
|
142
|
android:paddingLeft="5dp"
|
143
|
android:paddingRight="10dp" />
|
144
|
|
145
|
<SeekBar
|
146
|
android:id="@+id/dynamicSeekNoise1"
|
147
|
android:layout_width="match_parent"
|
148
|
android:layout_height="wrap_content"
|
149
|
android:layout_weight="1"
|
150
|
android:paddingLeft="5dp"
|
151
|
android:paddingRight="10dp" />
|
152
|
|
153
|
<SeekBar
|
154
|
android:id="@+id/dynamicSeekNoise2"
|
155
|
android:layout_width="match_parent"
|
156
|
android:layout_height="wrap_content"
|
157
|
android:layout_weight="1"
|
158
|
android:paddingLeft="5dp"
|
159
|
android:paddingRight="10dp" />
|
160
|
</LinearLayout>
|
161
|
|
162
|
</LinearLayout>
|
163
|
|
164
|
</LinearLayout>
|