1 |
df77c72c
|
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 |
|
|
<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 |
b4a73ea5
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
17 |
|
|
android:layout_marginBottom="5dp"
|
18 |
|
|
android:background="@android:color/holo_green_dark">
|
19 |
df77c72c
|
Leszek Koltunski
|
|
20 |
b4a73ea5
|
Leszek Koltunski
|
<LinearLayout
|
21 |
|
|
android:orientation="vertical"
|
22 |
|
|
android:layout_width="0dp"
|
23 |
|
|
android:layout_height="match_parent"
|
24 |
|
|
android:layout_weight="0.8">
|
25 |
df77c72c
|
Leszek Koltunski
|
|
26 |
b4a73ea5
|
Leszek Koltunski
|
<TextView
|
27 |
|
|
android:id="@+id/fragment3dcenterText"
|
28 |
|
|
android:layout_width="wrap_content"
|
29 |
|
|
android:layout_height="wrap_content"
|
30 |
|
|
android:layout_marginEnd="5dp"
|
31 |
|
|
android:layout_marginStart="5dp"
|
32 |
|
|
android:layout_marginTop="3dp"
|
33 |
|
|
/>
|
34 |
df77c72c
|
Leszek Koltunski
|
|
35 |
b4a73ea5
|
Leszek Koltunski
|
<LinearLayout
|
36 |
|
|
android:orientation="horizontal"
|
37 |
|
|
android:layout_width="match_parent"
|
38 |
|
|
android:layout_height="match_parent"
|
39 |
|
|
>
|
40 |
df77c72c
|
Leszek Koltunski
|
|
41 |
b4a73ea5
|
Leszek Koltunski
|
<SeekBar
|
42 |
|
|
android:layout_width="fill_parent"
|
43 |
|
|
android:layout_height="wrap_content"
|
44 |
|
|
android:id="@+id/fragment3dcenterX"
|
45 |
|
|
android:layout_weight="0.5"
|
46 |
|
|
android:paddingLeft="5dp"
|
47 |
|
|
android:paddingRight="3dp"/>
|
48 |
|
|
|
49 |
|
|
<SeekBar
|
50 |
|
|
android:layout_width="fill_parent"
|
51 |
|
|
android:layout_height="wrap_content"
|
52 |
|
|
android:id="@+id/fragment3dcenterY"
|
53 |
|
|
android:layout_weight="0.5"
|
54 |
|
|
android:paddingLeft="3dp"
|
55 |
|
|
android:paddingRight="5dp"/>
|
56 |
|
|
</LinearLayout>
|
57 |
|
|
|
58 |
|
|
</LinearLayout>
|
59 |
df77c72c
|
Leszek Koltunski
|
|
60 |
|
|
<Button
|
61 |
|
|
android:id="@+id/buttonDefault"
|
62 |
b4a73ea5
|
Leszek Koltunski
|
android:layout_width="60dp"
|
63 |
df77c72c
|
Leszek Koltunski
|
android:layout_height="wrap_content"
|
64 |
b4a73ea5
|
Leszek Koltunski
|
android:onClick="Default"
|
65 |
|
|
android:text="@string/reset"
|
66 |
df77c72c
|
Leszek Koltunski
|
android:layout_gravity="right"
|
67 |
|
|
android:layout_marginTop="3dp"/>
|
68 |
|
|
</LinearLayout>
|
69 |
|
|
|
70 |
|
|
<ScrollView
|
71 |
|
|
android:id="@+id/fragment3dscrollView"
|
72 |
|
|
android:layout_width="match_parent"
|
73 |
|
|
android:layout_height="0dp"
|
74 |
|
|
android:layout_weight="0.82" >
|
75 |
|
|
|
76 |
|
|
<LinearLayout
|
77 |
|
|
android:id="@+id/fragment3dlayout"
|
78 |
|
|
android:layout_width="match_parent"
|
79 |
|
|
android:layout_height="wrap_content"
|
80 |
|
|
android:orientation="vertical" >
|
81 |
|
|
</LinearLayout>
|
82 |
|
|
|
83 |
|
|
</ScrollView>
|
84 |
|
|
|
85 |
|
|
</LinearLayout>
|