Project

General

Profile

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

examples / src / main / res / layout / effects3dlayout.xml @ 1bbe1af2

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.effects3d.Effects3DSurfaceView
8
        android:id="@+id/effects3dSurfaceView"
9
        android:layout_width="fill_parent"
10
        android:layout_height="0dp"
11
        android:layout_weight="1" />
12

    
13
    <LinearLayout
14
        android:layout_width="match_parent"
15
        android:layout_height="32dp"
16
        android:orientation="horizontal">
17

    
18
        <CheckBox
19
            android:id="@+id/effects3dCheckBoxCenter"
20
            android:layout_width="wrap_content"
21
            android:layout_height="wrap_content"
22
            android:layout_weight="1"
23
            android:checked="true"
24
            android:onClick="showCenter"
25
            android:text="@string/show_center"
26
            android:textSize="12sp"/>
27

    
28
        <CheckBox
29
            android:id="@+id/effects3dCheckBoxRegion"
30
            android:layout_width="wrap_content"
31
            android:layout_height="wrap_content"
32
            android:layout_weight="1"
33
            android:checked="true"
34
            android:onClick="showRegion"
35
            android:text="@string/show_region"
36
            android:textSize="12sp"/>
37

    
38
        <CheckBox
39
            android:id="@+id/effects3dCheckBoxNormal"
40
            android:layout_width="wrap_content"
41
            android:layout_height="wrap_content"
42
            android:layout_weight="1"
43
            android:checked="true"
44
            android:onClick="showNormal"
45
            android:text="@string/show_normal"
46
            android:textSize="12sp"/>
47
    </LinearLayout>
48

    
49
    <LinearLayout
50
        android:layout_width="match_parent"
51
        android:layout_height="42dp"
52
        android:layout_gravity="center"
53
        android:orientation="horizontal">
54

    
55
        <Button
56
            android:id="@+id/buttonAdd"
57
            android:layout_width="wrap_content"
58
            android:layout_height="wrap_content"
59
            android:onClick="newEffect"
60
            android:text="@string/Add"
61
            />
62

    
63
        <TextView
64
            android:id="@+id/textView10"
65
            android:layout_width="wrap_content"
66
            android:layout_height="wrap_content"
67
            android:text="@string/New"
68
            android:textAppearance="?android:attr/textAppearanceMedium"/>
69

    
70
        <Spinner
71
            android:id="@+id/effects3dspinner"
72
            android:layout_width="0dp"
73
            android:layout_height="wrap_content"
74
            android:layout_weight="0.5"/>
75

    
76
        <Button
77
            android:id="@+id/buttonRemove"
78
            android:layout_width="wrap_content"
79
            android:layout_height="wrap_content"
80
            android:onClick="removeAll"
81
            android:text="@string/reset"
82
            />
83

    
84
    </LinearLayout>
85

    
86
    <View
87
        android:layout_height="4dip"
88
        android:background="#777777"
89
        android:layout_width="match_parent"
90
        />
91

    
92
    <ScrollView
93
        android:id="@+id/effects3dscrollView"
94
        android:layout_width="match_parent"
95
        android:layout_height="0dp"
96
        android:layout_weight="0.80"
97
        >
98

    
99
        <LinearLayout
100
            android:id="@+id/effects3dlayout"
101
            android:layout_width="match_parent"
102
            android:layout_height="wrap_content"
103
            android:orientation="vertical" >
104
        </LinearLayout>
105

    
106
    </ScrollView>
107

    
108
</LinearLayout>
(17-17/31)