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.meshfile.MeshFileSurfaceView
|
8
|
android:id="@+id/meshfileSurfaceView"
|
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="wrap_content">
|
17
|
|
18
|
<Spinner
|
19
|
android:layout_width="0dp"
|
20
|
android:layout_height="wrap_content"
|
21
|
android:layout_weight="0.5"
|
22
|
android:id="@+id/meshfileSpinner"/>
|
23
|
|
24
|
<Button
|
25
|
android:id="@+id/meshfileButton"
|
26
|
android:layout_width="100dp"
|
27
|
android:layout_height="fill_parent"
|
28
|
android:gravity="center_vertical|center"
|
29
|
android:text="@string/open"
|
30
|
android:onClick="Open"
|
31
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
32
|
android:layout_gravity="center_vertical"/>
|
33
|
|
34
|
</LinearLayout>
|
35
|
|
36
|
<SeekBar
|
37
|
android:id="@+id/meshfileScale"
|
38
|
android:layout_width="match_parent"
|
39
|
android:layout_height="wrap_content"
|
40
|
android:paddingLeft="20dp"
|
41
|
android:paddingRight="20dp" />
|
42
|
|
43
|
<LinearLayout
|
44
|
android:orientation="horizontal"
|
45
|
android:layout_width="match_parent"
|
46
|
android:layout_height="wrap_content">
|
47
|
|
48
|
<TextView
|
49
|
android:layout_width="wrap_content"
|
50
|
android:layout_height="wrap_content"
|
51
|
android:gravity="left"
|
52
|
android:text="@string/vertices"
|
53
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
54
|
<TextView
|
55
|
android:id="@+id/meshfileVertices"
|
56
|
android:layout_width="0dp"
|
57
|
android:layout_height="wrap_content"
|
58
|
android:layout_weight="0.33"
|
59
|
android:paddingLeft="5dp"
|
60
|
android:gravity="right"
|
61
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
62
|
|
63
|
<TextView
|
64
|
android:layout_width="wrap_content"
|
65
|
android:layout_height="wrap_content"
|
66
|
android:paddingLeft="5dp"
|
67
|
android:gravity="left"
|
68
|
android:text="@string/size"
|
69
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
70
|
<TextView
|
71
|
android:id="@+id/meshfileSize"
|
72
|
android:layout_width="0dp"
|
73
|
android:layout_height="wrap_content"
|
74
|
android:layout_weight="0.33"
|
75
|
android:paddingLeft="5dp"
|
76
|
android:gravity="right"
|
77
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
78
|
|
79
|
<TextView
|
80
|
android:layout_width="wrap_content"
|
81
|
android:layout_height="wrap_content"
|
82
|
android:paddingLeft="5dp"
|
83
|
android:gravity="left"
|
84
|
android:text="@string/time"
|
85
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
86
|
<TextView
|
87
|
android:id="@+id/meshfileTime"
|
88
|
android:layout_width="0dp"
|
89
|
android:layout_height="wrap_content"
|
90
|
android:layout_weight="0.33"
|
91
|
android:paddingLeft="5dp"
|
92
|
android:gravity="right"
|
93
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
94
|
|
95
|
</LinearLayout>
|
96
|
|
97
|
</LinearLayout>
|