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.effectqueue.EffectQueueSurfaceView
|
8
|
android:id="@+id/effects2dSurfaceView"
|
9
|
android:layout_width="fill_parent"
|
10
|
android:layout_height="0dp"
|
11
|
android:layout_weight="1" />
|
12
|
|
13
|
<ScrollView
|
14
|
android:id="@+id/effects2dscrollView"
|
15
|
android:layout_width="match_parent"
|
16
|
android:layout_height="0dp"
|
17
|
android:layout_weight="0.82" >
|
18
|
|
19
|
<LinearLayout
|
20
|
android:id="@+id/linearLayout1"
|
21
|
android:layout_width="fill_parent"
|
22
|
android:layout_height="wrap_content"
|
23
|
android:gravity="fill_horizontal|top"
|
24
|
android:orientation="vertical"
|
25
|
android:weightSum="1">
|
26
|
|
27
|
<TableLayout
|
28
|
android:layout_width="fill_parent"
|
29
|
android:layout_height="wrap_content"
|
30
|
android:paddingTop="2dp"
|
31
|
android:paddingBottom="2dp"
|
32
|
android:stretchColumns="0,1,2"
|
33
|
android:paddingLeft="10dp"
|
34
|
android:paddingRight="10dp">
|
35
|
|
36
|
<TableRow
|
37
|
android:layout_width="match_parent"
|
38
|
android:layout_height="match_parent">
|
39
|
|
40
|
<TextView
|
41
|
android:layout_width="wrap_content"
|
42
|
android:layout_height="wrap_content"
|
43
|
android:text="@string/add"
|
44
|
android:id="@+id/textView"
|
45
|
android:layout_gravity="center_vertical"
|
46
|
android:layout_span="2"
|
47
|
android:layout_marginLeft="8dp"/>
|
48
|
|
49
|
<Spinner
|
50
|
android:layout_width="fill_parent"
|
51
|
android:layout_height="40dp"
|
52
|
android:id="@+id/effects2d_spinnerAdd"
|
53
|
/>
|
54
|
</TableRow>
|
55
|
|
56
|
<TableRow
|
57
|
android:layout_width="wrap_content"
|
58
|
android:layout_height="wrap_content"
|
59
|
android:layout_gravity="center"
|
60
|
android:orientation="vertical">
|
61
|
|
62
|
<Button
|
63
|
android:layout_width="wrap_content"
|
64
|
android:layout_height="40dp"
|
65
|
android:text="@string/removebut"
|
66
|
android:id="@+id/effects2dRemoveID"
|
67
|
android:onClick="removeByID"/>
|
68
|
|
69
|
<TextView
|
70
|
android:layout_width="match_parent"
|
71
|
android:layout_height="wrap_content"
|
72
|
android:text="@string/id"
|
73
|
android:id="@+id/textView3"
|
74
|
android:layout_gravity="center"/>
|
75
|
|
76
|
<Spinner
|
77
|
android:layout_width="fill_parent"
|
78
|
android:layout_height="40dp"
|
79
|
android:id="@+id/effects2d_spinnerID"/>
|
80
|
</TableRow>
|
81
|
|
82
|
<TableRow
|
83
|
android:layout_width="wrap_content"
|
84
|
android:layout_height="wrap_content"
|
85
|
android:layout_gravity="center">
|
86
|
|
87
|
<Button
|
88
|
android:layout_width="wrap_content"
|
89
|
android:layout_height="40dp"
|
90
|
android:text="@string/removebut"
|
91
|
android:id="@+id/effects2dRemoveName"
|
92
|
android:onClick="removeByName"/>
|
93
|
|
94
|
<TextView
|
95
|
android:layout_width="match_parent"
|
96
|
android:layout_height="wrap_content"
|
97
|
android:text="@string/name"
|
98
|
android:id="@+id/textView4"
|
99
|
android:layout_gravity="center"/>
|
100
|
|
101
|
<Spinner
|
102
|
android:layout_width="fill_parent"
|
103
|
android:layout_height="40dp"
|
104
|
android:id="@+id/effects2d_spinnerName"/>
|
105
|
</TableRow>
|
106
|
|
107
|
<TableRow
|
108
|
android:layout_width="wrap_content"
|
109
|
android:layout_height="wrap_content"
|
110
|
android:layout_gravity="center">
|
111
|
|
112
|
<Button
|
113
|
android:layout_width="wrap_content"
|
114
|
android:layout_height="40dp"
|
115
|
android:text="@string/removebut"
|
116
|
android:id="@+id/effects2dRemoveType"
|
117
|
android:onClick="removeByType"/>
|
118
|
|
119
|
<TextView
|
120
|
android:layout_width="wrap_content"
|
121
|
android:layout_height="wrap_content"
|
122
|
android:text="@string/type"
|
123
|
android:id="@+id/textView5"
|
124
|
android:layout_gravity="center"/>
|
125
|
|
126
|
<Spinner
|
127
|
android:layout_width="fill_parent"
|
128
|
android:layout_height="40dp"
|
129
|
android:id="@+id/effects2d_spinnerType"/>
|
130
|
</TableRow>
|
131
|
|
132
|
</TableLayout>
|
133
|
<View
|
134
|
android:layout_height="2dip"
|
135
|
android:background="#333333"
|
136
|
android:layout_width="match_parent"
|
137
|
/>
|
138
|
|
139
|
<TextView
|
140
|
android:layout_width="wrap_content"
|
141
|
android:layout_height="wrap_content"
|
142
|
android:text="@string/list"
|
143
|
android:id="@+id/textView6"
|
144
|
android:layout_gravity="center_horizontal"/>
|
145
|
|
146
|
<TableLayout
|
147
|
android:id="@+id/effects2dTableList"
|
148
|
android:layout_width="match_parent"
|
149
|
android:layout_height="match_parent"
|
150
|
android:paddingTop="2dp"
|
151
|
android:paddingBottom="2dp"
|
152
|
android:stretchColumns="0,1,2,3"
|
153
|
android:paddingLeft="10dp"
|
154
|
android:paddingRight="10dp">
|
155
|
</TableLayout>
|
156
|
|
157
|
</LinearLayout>
|
158
|
|
159
|
</ScrollView>
|
160
|
</LinearLayout>
|