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.effects3d.Effects3DSurfaceView
|
8
|
android:id="@+id/effects3dSurfaceView"
|
9
|
android:layout_width="fill_parent"
|
10
|
android:layout_height="0dp"
|
11
|
android:layout_weight="1" />
|
12
|
|
13
|
<LinearLayout
|
14
|
android:layout_width="match_parent"
|
15
|
android:layout_height="32dp"
|
16
|
android:orientation="horizontal">
|
17
|
|
18
|
<CheckBox
|
19
|
android:id="@+id/effects3dCheckBoxCenter"
|
20
|
android:layout_width="wrap_content"
|
21
|
android:layout_height="wrap_content"
|
22
|
android:layout_weight="1"
|
23
|
android:checked="true"
|
24
|
android:onClick="showCenter"
|
25
|
android:text="@string/show_center"
|
26
|
android:textSize="12sp"/>
|
27
|
|
28
|
<CheckBox
|
29
|
android:id="@+id/effects3dCheckBoxRegion"
|
30
|
android:layout_width="wrap_content"
|
31
|
android:layout_height="wrap_content"
|
32
|
android:layout_weight="1"
|
33
|
android:checked="true"
|
34
|
android:onClick="showRegion"
|
35
|
android:text="@string/show_region"
|
36
|
android:textSize="12sp"/>
|
37
|
|
38
|
<CheckBox
|
39
|
android:id="@+id/effects3dCheckBoxNormal"
|
40
|
android:layout_width="wrap_content"
|
41
|
android:layout_height="wrap_content"
|
42
|
android:layout_weight="1"
|
43
|
android:checked="true"
|
44
|
android:onClick="showNormal"
|
45
|
android:text="@string/show_normal"
|
46
|
android:textSize="12sp"/>
|
47
|
|
48
|
<CheckBox
|
49
|
android:id="@+id/effects3dCheckBoxOIT"
|
50
|
android:layout_width="wrap_content"
|
51
|
android:layout_height="wrap_content"
|
52
|
android:layout_weight="1"
|
53
|
android:checked="false"
|
54
|
android:onClick="triggerOIT"
|
55
|
android:text="@string/oit"
|
56
|
android:textSize="12sp"/>
|
57
|
</LinearLayout>
|
58
|
|
59
|
<LinearLayout
|
60
|
android:layout_width="match_parent"
|
61
|
android:layout_height="42dp"
|
62
|
android:layout_gravity="center"
|
63
|
android:orientation="horizontal">
|
64
|
|
65
|
<Button
|
66
|
android:id="@+id/buttonAdd"
|
67
|
android:layout_width="wrap_content"
|
68
|
android:layout_height="wrap_content"
|
69
|
android:onClick="newEffect"
|
70
|
android:text="@string/Add"
|
71
|
/>
|
72
|
|
73
|
<TextView
|
74
|
android:id="@+id/textView10"
|
75
|
android:layout_width="wrap_content"
|
76
|
android:layout_height="wrap_content"
|
77
|
android:text="@string/New"
|
78
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
79
|
|
80
|
<Spinner
|
81
|
android:id="@+id/effects3dspinner"
|
82
|
android:layout_width="0dp"
|
83
|
android:layout_height="wrap_content"
|
84
|
android:layout_weight="0.5"/>
|
85
|
|
86
|
<Button
|
87
|
android:id="@+id/buttonRemove"
|
88
|
android:layout_width="wrap_content"
|
89
|
android:layout_height="wrap_content"
|
90
|
android:onClick="removeAll"
|
91
|
android:text="@string/reset"
|
92
|
/>
|
93
|
|
94
|
</LinearLayout>
|
95
|
|
96
|
<View
|
97
|
android:layout_height="4dip"
|
98
|
android:background="#777777"
|
99
|
android:layout_width="match_parent"
|
100
|
/>
|
101
|
|
102
|
<ScrollView
|
103
|
android:id="@+id/effects3dscrollView"
|
104
|
android:layout_width="match_parent"
|
105
|
android:layout_height="0dp"
|
106
|
android:layout_weight="0.80"
|
107
|
>
|
108
|
|
109
|
<LinearLayout
|
110
|
android:id="@+id/effects3dlayout"
|
111
|
android:layout_width="match_parent"
|
112
|
android:layout_height="wrap_content"
|
113
|
android:orientation="vertical" >
|
114
|
</LinearLayout>
|
115
|
|
116
|
</ScrollView>
|
117
|
|
118
|
</LinearLayout>
|