Project

General

Profile

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

examples / src / main / res / layout / fragment3dlayout.xml @ 3c28857f

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 7e9be46d Leszek Koltunski
        android:layout_height="50dp"
17
        android:layout_gravity="center">
18
19
        <Button
20
            android:layout_width="wrap_content"
21
            android:layout_height="wrap_content"
22 65270124 Leszek Koltunski
            android:text="@string/Add"
23
            android:id="@+id/buttonAdd"
24
            android:onClick="newEffect"
25 7e9be46d Leszek Koltunski
            />
26
27 65270124 Leszek Koltunski
        <TextView
28 7e9be46d Leszek Koltunski
            android:layout_width="wrap_content"
29
            android:layout_height="wrap_content"
30 65270124 Leszek Koltunski
            android:textAppearance="?android:attr/textAppearanceMedium"
31
            android:text="@string/New"
32
            android:id="@+id/textView10"/>
33 7e9be46d Leszek Koltunski
34 65270124 Leszek Koltunski
        <Spinner
35 7e9be46d Leszek Koltunski
            android:layout_width="wrap_content"
36
            android:layout_height="wrap_content"
37 65270124 Leszek Koltunski
            android:id="@+id/fragment3dspinner"
38
            android:layout_weight="0.5"/>
39 7e9be46d Leszek Koltunski
40
        <Button
41
            android:layout_width="wrap_content"
42
            android:layout_height="wrap_content"
43 65270124 Leszek Koltunski
            android:text="@string/RemoveAll"
44
            android:id="@+id/buttonRemove"
45
            android:onClick="removeAll"
46
            />
47 7e9be46d Leszek Koltunski
48
    </LinearLayout>
49
50
    <View
51
        android:layout_height="4dip"
52
        android:background="#777777"
53
        android:layout_width="match_parent"
54
        />
55
56 df77c72c Leszek Koltunski
    <ScrollView
57
        android:id="@+id/fragment3dscrollView"
58
        android:layout_width="match_parent"
59
        android:layout_height="0dp"
60 7e9be46d Leszek Koltunski
        android:layout_weight="0.82"
61
        >
62 df77c72c Leszek Koltunski
63
        <LinearLayout
64
            android:id="@+id/fragment3dlayout"
65
            android:layout_width="match_parent"
66
            android:layout_height="wrap_content"
67
            android:orientation="vertical" >
68
        </LinearLayout>
69
70
    </ScrollView>
71
72
</LinearLayout>