Project

General

Profile

Download (3.39 KB) Statistics
| Branch: | Revision:

examples / src / main / res / layout / meshfilelayout.xml @ 48c88f57

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

    
25
        <Button
26
            android:id="@+id/meshfileButton"
27
            android:layout_width="100dp"
28
            android:layout_height="fill_parent"
29
            android:gravity="center_vertical|center"
30
            android:text="@string/open"
31
            android:onClick="Open"
32
            android:textAppearance="?android:attr/textAppearanceMedium"
33
            android:layout_gravity="center_vertical"/>
34

    
35
    </LinearLayout>
36

    
37
    <LinearLayout
38
        android:orientation="horizontal"
39
        android:layout_width="match_parent"
40
        android:layout_height="wrap_content">
41

    
42
        <TextView
43
                android:layout_width="wrap_content"
44
                android:layout_height="wrap_content"
45
                android:gravity="left"
46
                android:text="@string/vertices"
47
                android:textAppearance="?android:attr/textAppearanceMedium" />
48
        <TextView
49
                android:id="@+id/meshfileVertices"
50
                android:layout_width="0dp"
51
                android:layout_height="wrap_content"
52
                android:layout_weight="0.33"
53
                android:paddingLeft="5dp"
54
                android:gravity="right"
55
                android:textAppearance="?android:attr/textAppearanceSmall" />
56

    
57
        <TextView
58
                android:layout_width="wrap_content"
59
                android:layout_height="wrap_content"
60
                android:paddingLeft="5dp"
61
                android:gravity="left"
62
                android:text="@string/size"
63
                android:textAppearance="?android:attr/textAppearanceMedium" />
64
        <TextView
65
                android:id="@+id/meshfileSize"
66
                android:layout_width="0dp"
67
                android:layout_height="wrap_content"
68
                android:layout_weight="0.33"
69
                android:paddingLeft="5dp"
70
                android:gravity="right"
71
                android:textAppearance="?android:attr/textAppearanceSmall" />
72

    
73
        <TextView
74
                android:layout_width="wrap_content"
75
                android:layout_height="wrap_content"
76
                android:paddingLeft="5dp"
77
                android:gravity="left"
78
                android:text="@string/time"
79
                android:textAppearance="?android:attr/textAppearanceMedium" />
80
        <TextView
81
                android:id="@+id/meshfileTime"
82
                android:layout_width="0dp"
83
                android:layout_height="wrap_content"
84
                android:layout_weight="0.33"
85
                android:paddingLeft="5dp"
86
                android:gravity="right"
87
                android:textAppearance="?android:attr/textAppearanceSmall" />
88

    
89
    </LinearLayout>
90

    
91
</LinearLayout>
(29-29/49)