1 |
42aa970f
|
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 |
8aece7f2
|
Leszek Koltunski
|
<SeekBar
|
8 |
|
|
android:id="@+id/meshfileScale"
|
9 |
|
|
android:layout_width="match_parent"
|
10 |
|
|
android:layout_height="wrap_content"
|
11 |
|
|
android:paddingLeft="10dp"
|
12 |
|
|
android:paddingRight="10dp"
|
13 |
|
|
android:paddingTop="10dp"
|
14 |
|
|
android:paddingBottom="10dp" />
|
15 |
|
|
|
16 |
42aa970f
|
Leszek Koltunski
|
<org.distorted.examples.meshfile.MeshFileSurfaceView
|
17 |
|
|
android:id="@+id/meshfileSurfaceView"
|
18 |
|
|
android:layout_width="fill_parent"
|
19 |
|
|
android:layout_height="0dp"
|
20 |
|
|
android:layout_weight="1" />
|
21 |
|
|
|
22 |
|
|
<LinearLayout
|
23 |
|
|
android:orientation="horizontal"
|
24 |
|
|
android:layout_width="match_parent"
|
25 |
|
|
android:layout_height="wrap_content">
|
26 |
|
|
|
27 |
|
|
<Spinner
|
28 |
|
|
android:layout_width="0dp"
|
29 |
|
|
android:layout_height="wrap_content"
|
30 |
|
|
android:layout_weight="0.5"
|
31 |
16b336db
|
Leszek Koltunski
|
android:id="@+id/meshfileSpinner"/>
|
32 |
42aa970f
|
Leszek Koltunski
|
|
33 |
|
|
<Button
|
34 |
|
|
android:id="@+id/meshfileButton"
|
35 |
|
|
android:layout_width="100dp"
|
36 |
|
|
android:layout_height="fill_parent"
|
37 |
|
|
android:gravity="center_vertical|center"
|
38 |
|
|
android:text="@string/open"
|
39 |
|
|
android:onClick="Open"
|
40 |
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
41 |
|
|
android:layout_gravity="center_vertical"/>
|
42 |
|
|
|
43 |
|
|
</LinearLayout>
|
44 |
|
|
|
45 |
48c88f57
|
Leszek Koltunski
|
<LinearLayout
|
46 |
|
|
android:orientation="horizontal"
|
47 |
|
|
android:layout_width="match_parent"
|
48 |
|
|
android:layout_height="wrap_content">
|
49 |
|
|
|
50 |
|
|
<TextView
|
51 |
|
|
android:layout_width="wrap_content"
|
52 |
|
|
android:layout_height="wrap_content"
|
53 |
|
|
android:gravity="left"
|
54 |
|
|
android:text="@string/vertices"
|
55 |
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
56 |
|
|
<TextView
|
57 |
|
|
android:id="@+id/meshfileVertices"
|
58 |
|
|
android:layout_width="0dp"
|
59 |
|
|
android:layout_height="wrap_content"
|
60 |
|
|
android:layout_weight="0.33"
|
61 |
|
|
android:paddingLeft="5dp"
|
62 |
|
|
android:gravity="right"
|
63 |
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
64 |
|
|
|
65 |
|
|
<TextView
|
66 |
|
|
android:layout_width="wrap_content"
|
67 |
|
|
android:layout_height="wrap_content"
|
68 |
|
|
android:paddingLeft="5dp"
|
69 |
|
|
android:gravity="left"
|
70 |
|
|
android:text="@string/size"
|
71 |
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
72 |
|
|
<TextView
|
73 |
|
|
android:id="@+id/meshfileSize"
|
74 |
|
|
android:layout_width="0dp"
|
75 |
|
|
android:layout_height="wrap_content"
|
76 |
|
|
android:layout_weight="0.33"
|
77 |
|
|
android:paddingLeft="5dp"
|
78 |
|
|
android:gravity="right"
|
79 |
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
80 |
|
|
|
81 |
|
|
<TextView
|
82 |
|
|
android:layout_width="wrap_content"
|
83 |
|
|
android:layout_height="wrap_content"
|
84 |
|
|
android:paddingLeft="5dp"
|
85 |
|
|
android:gravity="left"
|
86 |
|
|
android:text="@string/time"
|
87 |
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
88 |
|
|
<TextView
|
89 |
|
|
android:id="@+id/meshfileTime"
|
90 |
|
|
android:layout_width="0dp"
|
91 |
|
|
android:layout_height="wrap_content"
|
92 |
|
|
android:layout_weight="0.33"
|
93 |
|
|
android:paddingLeft="5dp"
|
94 |
|
|
android:gravity="right"
|
95 |
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
96 |
|
|
|
97 |
|
|
</LinearLayout>
|
98 |
|
|
|
99 |
7198e5c9
|
Leszek Koltunski
|
<View
|
100 |
|
|
android:layout_height="4dip"
|
101 |
|
|
android:background="#777777"
|
102 |
|
|
android:layout_width="match_parent"
|
103 |
|
|
/>
|
104 |
|
|
|
105 |
|
|
<TextView
|
106 |
|
|
android:text="@string/effComponents"
|
107 |
|
|
android:layout_width="wrap_content"
|
108 |
|
|
android:layout_height="wrap_content"
|
109 |
|
|
android:gravity="center"
|
110 |
|
|
android:layout_marginEnd="5dp"
|
111 |
|
|
android:layout_marginStart="5dp"
|
112 |
|
|
android:layout_marginTop="5dp"/>
|
113 |
|
|
|
114 |
|
|
<View
|
115 |
|
|
android:layout_height="4dip"
|
116 |
|
|
android:background="#777777"
|
117 |
|
|
android:layout_width="match_parent"
|
118 |
|
|
/>
|
119 |
|
|
|
120 |
|
|
<ScrollView
|
121 |
|
|
android:id="@+id/meshfileScrollView"
|
122 |
|
|
android:layout_width="match_parent"
|
123 |
|
|
android:layout_height="0dp"
|
124 |
|
|
android:layout_weight="0.5">
|
125 |
|
|
|
126 |
|
|
<LinearLayout
|
127 |
|
|
android:id="@+id/meshfileComponentLayout"
|
128 |
|
|
android:layout_width="match_parent"
|
129 |
|
|
android:layout_height="wrap_content"
|
130 |
|
|
android:orientation="vertical" >
|
131 |
|
|
</LinearLayout>
|
132 |
|
|
|
133 |
|
|
</ScrollView>
|
134 |
|
|
|
135 |
42aa970f
|
Leszek Koltunski
|
</LinearLayout>
|