Project

General

Profile

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

examples / src / main / res / layout / vertex3dlayout.xml @ 794e6c4f

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.vertex3d.Vertex3DSurfaceView
8
        android:id="@+id/vertex3dSurfaceView"
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

    
19
        <LinearLayout
20
            android:orientation="vertical"
21
            android:layout_width="0dp"
22
            android:layout_height="match_parent"
23
            android:layout_weight="0.8">
24

    
25
            <TextView
26
                android:layout_width="wrap_content"
27
                android:layout_height="wrap_content"
28
                android:id="@+id/vertex3dcenterText"/>
29

    
30
            <LinearLayout
31
                android:orientation="horizontal"
32
                android:layout_width="match_parent"
33
                android:layout_height="match_parent">
34

    
35
                <SeekBar
36
                    android:layout_width="fill_parent"
37
                    android:layout_height="wrap_content"
38
                    android:id="@+id/vertex3dcenterX"
39
                    android:layout_weight="0.5"
40
                    android:paddingLeft="5dp"
41
                    android:paddingRight="3dp"/>
42

    
43
                <SeekBar
44
                    android:layout_width="fill_parent"
45
                    android:layout_height="wrap_content"
46
                    android:id="@+id/vertex3dcenterY"
47
                    android:layout_weight="0.5"
48
                    android:paddingLeft="3dp"
49
                    android:paddingRight="5dp"/>
50
            </LinearLayout>
51

    
52
        </LinearLayout>
53

    
54
        <Button
55
            android:id="@+id/buttonDefault"
56
            android:layout_width="60dp"
57
            android:layout_height="wrap_content"
58
            android:onClick="Default"
59
            android:text="@string/reset"
60
            android:layout_gravity="right"/>
61
    </LinearLayout>
62

    
63
    <ScrollView
64
        android:id="@+id/vertex3dscrollView"
65
        android:layout_width="match_parent"
66
        android:layout_height="0dp"
67
        android:layout_weight="0.82" >
68

    
69
        <LinearLayout
70
            android:id="@+id/vertex3dlayout"
71
            android:layout_width="match_parent"
72
            android:layout_height="wrap_content"
73
            android:orientation="vertical" >
74
        </LinearLayout>
75

    
76
    </ScrollView>
77

    
78
</LinearLayout>
(21-21/23)