Project

General

Profile

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

examples / src / main / res / layout / effects3dlayout.xml @ 80f37d1b

1 08f92d82 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 76a81b6a Leszek Koltunski
    <org.distorted.examples.effects3d.Effects3DSurfaceView
8
        android:id="@+id/effects3dSurfaceView"
9 08f92d82 Leszek Koltunski
        android:layout_width="fill_parent"
10
        android:layout_height="0dp"
11
        android:layout_weight="1" />
12
13 794e6c4f Leszek Koltunski
    <LinearLayout
14
        android:layout_width="match_parent"
15 0ab55f0c Leszek Koltunski
        android:layout_height="32dp"
16
        android:orientation="horizontal">
17 794e6c4f Leszek Koltunski
18 0ab55f0c Leszek Koltunski
        <CheckBox
19
            android:id="@+id/effects3dCheckBoxCenter"
20 56cbe1cf Leszek Koltunski
            android:layout_width="wrap_content"
21
            android:layout_height="wrap_content"
22 0ab55f0c Leszek Koltunski
            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 56cbe1cf Leszek Koltunski
            android:id="@+id/buttonAdd"
57 0ab55f0c Leszek Koltunski
            android:layout_width="wrap_content"
58
            android:layout_height="wrap_content"
59 56cbe1cf Leszek Koltunski
            android:onClick="newEffect"
60 0ab55f0c Leszek Koltunski
            android:text="@string/Add"
61 56cbe1cf Leszek Koltunski
            />
62 794e6c4f Leszek Koltunski
63 56cbe1cf Leszek Koltunski
        <TextView
64 0ab55f0c Leszek Koltunski
            android:id="@+id/textView10"
65 56cbe1cf Leszek Koltunski
            android:layout_width="wrap_content"
66
            android:layout_height="wrap_content"
67
            android:text="@string/New"
68 0ab55f0c Leszek Koltunski
            android:textAppearance="?android:attr/textAppearanceMedium"/>
69 794e6c4f Leszek Koltunski
70 56cbe1cf Leszek Koltunski
        <Spinner
71 0ab55f0c Leszek Koltunski
            android:id="@+id/effects3dspinner"
72 1bbe1af2 leszek
            android:layout_width="0dp"
73 56cbe1cf Leszek Koltunski
            android:layout_height="wrap_content"
74
            android:layout_weight="0.5"/>
75 794e6c4f Leszek Koltunski
76
        <Button
77 0ab55f0c Leszek Koltunski
            android:id="@+id/buttonRemove"
78 56cbe1cf Leszek Koltunski
            android:layout_width="wrap_content"
79 794e6c4f Leszek Koltunski
            android:layout_height="wrap_content"
80 56cbe1cf Leszek Koltunski
            android:onClick="removeAll"
81 0ab55f0c Leszek Koltunski
            android:text="@string/reset"
82 56cbe1cf Leszek Koltunski
            />
83
84 794e6c4f Leszek Koltunski
    </LinearLayout>
85 08f92d82 Leszek Koltunski
86 56cbe1cf Leszek Koltunski
    <View
87
        android:layout_height="4dip"
88
        android:background="#777777"
89
        android:layout_width="match_parent"
90
        />
91
92 08f92d82 Leszek Koltunski
    <ScrollView
93 76a81b6a Leszek Koltunski
        android:id="@+id/effects3dscrollView"
94 08f92d82 Leszek Koltunski
        android:layout_width="match_parent"
95
        android:layout_height="0dp"
96 1bbe1af2 leszek
        android:layout_weight="0.80"
97 56cbe1cf Leszek Koltunski
        >
98 08f92d82 Leszek Koltunski
99
        <LinearLayout
100 76a81b6a Leszek Koltunski
            android:id="@+id/effects3dlayout"
101 08f92d82 Leszek Koltunski
            android:layout_width="match_parent"
102
            android:layout_height="wrap_content"
103
            android:orientation="vertical" >
104
        </LinearLayout>
105
106
    </ScrollView>
107
108
</LinearLayout>