1 |
08f92d82
|
Leszek Koltunski
|
<?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 |
76a81b6a
|
Leszek Koltunski
|
<org.distorted.examples.effects3d.Effects3DSurfaceView
|
8 |
|
|
android:id="@+id/effects3dSurfaceView"
|
9 |
08f92d82
|
Leszek Koltunski
|
android:layout_width="fill_parent"
|
10 |
|
|
android:layout_height="0dp"
|
11 |
|
|
android:layout_weight="1" />
|
12 |
|
|
|
13 |
794e6c4f
|
Leszek Koltunski
|
<LinearLayout
|
14 |
|
|
android:layout_width="match_parent"
|
15 |
0ab55f0c
|
Leszek Koltunski
|
android:layout_height="32dp"
|
16 |
|
|
android:orientation="horizontal">
|
17 |
794e6c4f
|
Leszek Koltunski
|
|
18 |
0ab55f0c
|
Leszek Koltunski
|
<CheckBox
|
19 |
|
|
android:id="@+id/effects3dCheckBoxCenter"
|
20 |
56cbe1cf
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
21 |
|
|
android:layout_height="wrap_content"
|
22 |
0ab55f0c
|
Leszek Koltunski
|
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 |
bddd4b2d
|
Leszek Koltunski
|
|
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 |
0ab55f0c
|
Leszek Koltunski
|
</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 |
56cbe1cf
|
Leszek Koltunski
|
android:id="@+id/buttonAdd"
|
67 |
0ab55f0c
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
68 |
|
|
android:layout_height="wrap_content"
|
69 |
56cbe1cf
|
Leszek Koltunski
|
android:onClick="newEffect"
|
70 |
0ab55f0c
|
Leszek Koltunski
|
android:text="@string/Add"
|
71 |
56cbe1cf
|
Leszek Koltunski
|
/>
|
72 |
794e6c4f
|
Leszek Koltunski
|
|
73 |
56cbe1cf
|
Leszek Koltunski
|
<TextView
|
74 |
0ab55f0c
|
Leszek Koltunski
|
android:id="@+id/textView10"
|
75 |
56cbe1cf
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
76 |
|
|
android:layout_height="wrap_content"
|
77 |
|
|
android:text="@string/New"
|
78 |
0ab55f0c
|
Leszek Koltunski
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
79 |
794e6c4f
|
Leszek Koltunski
|
|
80 |
56cbe1cf
|
Leszek Koltunski
|
<Spinner
|
81 |
0ab55f0c
|
Leszek Koltunski
|
android:id="@+id/effects3dspinner"
|
82 |
1bbe1af2
|
leszek
|
android:layout_width="0dp"
|
83 |
56cbe1cf
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
84 |
|
|
android:layout_weight="0.5"/>
|
85 |
794e6c4f
|
Leszek Koltunski
|
|
86 |
|
|
<Button
|
87 |
0ab55f0c
|
Leszek Koltunski
|
android:id="@+id/buttonRemove"
|
88 |
56cbe1cf
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
89 |
794e6c4f
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
90 |
56cbe1cf
|
Leszek Koltunski
|
android:onClick="removeAll"
|
91 |
0ab55f0c
|
Leszek Koltunski
|
android:text="@string/reset"
|
92 |
56cbe1cf
|
Leszek Koltunski
|
/>
|
93 |
|
|
|
94 |
794e6c4f
|
Leszek Koltunski
|
</LinearLayout>
|
95 |
08f92d82
|
Leszek Koltunski
|
|
96 |
56cbe1cf
|
Leszek Koltunski
|
<View
|
97 |
|
|
android:layout_height="4dip"
|
98 |
|
|
android:background="#777777"
|
99 |
|
|
android:layout_width="match_parent"
|
100 |
|
|
/>
|
101 |
|
|
|
102 |
08f92d82
|
Leszek Koltunski
|
<ScrollView
|
103 |
76a81b6a
|
Leszek Koltunski
|
android:id="@+id/effects3dscrollView"
|
104 |
08f92d82
|
Leszek Koltunski
|
android:layout_width="match_parent"
|
105 |
|
|
android:layout_height="0dp"
|
106 |
1bbe1af2
|
leszek
|
android:layout_weight="0.80"
|
107 |
56cbe1cf
|
Leszek Koltunski
|
>
|
108 |
08f92d82
|
Leszek Koltunski
|
|
109 |
|
|
<LinearLayout
|
110 |
76a81b6a
|
Leszek Koltunski
|
android:id="@+id/effects3dlayout"
|
111 |
08f92d82
|
Leszek Koltunski
|
android:layout_width="match_parent"
|
112 |
|
|
android:layout_height="wrap_content"
|
113 |
|
|
android:orientation="vertical" >
|
114 |
|
|
</LinearLayout>
|
115 |
|
|
|
116 |
|
|
</ScrollView>
|
117 |
|
|
|
118 |
|
|
</LinearLayout>
|