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.fragment3d.Fragment3DSurfaceView
|
8
|
android:id="@+id/fragment3dSurfaceView"
|
9
|
android:layout_width="fill_parent"
|
10
|
android:layout_height="0dp"
|
11
|
android:layout_weight="1" />
|
12
|
|
13
|
<LinearLayout
|
14
|
android:orientation="horizontal"
|
15
|
android:layout_width="match_parent"
|
16
|
android:layout_height="50dp"
|
17
|
android:layout_gravity="center">
|
18
|
|
19
|
<Button
|
20
|
android:layout_width="wrap_content"
|
21
|
android:layout_height="wrap_content"
|
22
|
android:text="@string/reset"
|
23
|
android:id="@+id/buttonRemove"
|
24
|
android:onClick="removeAll"
|
25
|
/>
|
26
|
|
27
|
<Button
|
28
|
android:layout_width="wrap_content"
|
29
|
android:layout_height="wrap_content"
|
30
|
android:text="@string/chroma"
|
31
|
android:id="@+id/buttonChroma"
|
32
|
android:onClick="newChroma"/>
|
33
|
|
34
|
<Button
|
35
|
android:layout_width="wrap_content"
|
36
|
android:layout_height="wrap_content"
|
37
|
android:text="@string/alpha"
|
38
|
android:id="@+id/buttonAlpha"
|
39
|
android:onClick="newAlpha"/>
|
40
|
|
41
|
<Button
|
42
|
android:layout_width="wrap_content"
|
43
|
android:layout_height="wrap_content"
|
44
|
android:text="@string/brightness"
|
45
|
android:id="@+id/buttonBrightness"
|
46
|
android:onClick="newBrightness"/>
|
47
|
|
48
|
<Button
|
49
|
android:layout_width="wrap_content"
|
50
|
android:layout_height="wrap_content"
|
51
|
android:text="@string/saturation"
|
52
|
android:id="@+id/buttonSaturation"
|
53
|
android:onClick="newSaturation"/>
|
54
|
</LinearLayout>
|
55
|
|
56
|
<LinearLayout
|
57
|
android:orientation="vertical"
|
58
|
android:layout_width="fill_parent"
|
59
|
android:layout_height="50dp"
|
60
|
>
|
61
|
|
62
|
<TextView
|
63
|
android:id="@+id/fragment3dcenterText"
|
64
|
android:layout_width="wrap_content"
|
65
|
android:layout_height="wrap_content"
|
66
|
android:layout_marginEnd="5dp"
|
67
|
android:layout_marginStart="5dp"
|
68
|
android:layout_marginTop="3dp"
|
69
|
/>
|
70
|
|
71
|
<LinearLayout
|
72
|
android:orientation="horizontal"
|
73
|
android:layout_width="match_parent"
|
74
|
android:layout_height="match_parent"
|
75
|
>
|
76
|
|
77
|
<SeekBar
|
78
|
android:layout_width="fill_parent"
|
79
|
android:layout_height="wrap_content"
|
80
|
android:id="@+id/fragment3dcenterX"
|
81
|
android:layout_weight="0.5"
|
82
|
android:paddingLeft="5dp"
|
83
|
android:paddingRight="3dp"/>
|
84
|
|
85
|
<SeekBar
|
86
|
android:layout_width="fill_parent"
|
87
|
android:layout_height="wrap_content"
|
88
|
android:id="@+id/fragment3dcenterY"
|
89
|
android:layout_weight="0.5"
|
90
|
android:paddingLeft="3dp"
|
91
|
android:paddingRight="5dp"/>
|
92
|
</LinearLayout>
|
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/fragment3dscrollView"
|
104
|
android:layout_width="match_parent"
|
105
|
android:layout_height="0dp"
|
106
|
android:layout_weight="0.82"
|
107
|
>
|
108
|
|
109
|
<LinearLayout
|
110
|
android:id="@+id/fragment3dlayout"
|
111
|
android:layout_width="match_parent"
|
112
|
android:layout_height="wrap_content"
|
113
|
android:orientation="vertical" >
|
114
|
</LinearLayout>
|
115
|
|
116
|
</ScrollView>
|
117
|
|
118
|
</LinearLayout>
|