Project

General

Profile

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

examples / src / main / res / layout / fragment3dlayout.xml @ 75c7def3

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.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
        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
            android:text="@string/reset"
23
            android:id="@+id/buttonRemove"
24
            android:onClick="removeAll"
25
            />
26

    
27
        <Button
28
            android:layout_width="wrap_content"
29
            android:layout_height="wrap_content"
30
            android:text="@string/chroma"
31
            android:id="@+id/buttonChroma"
32
            android:onClick="newChroma"/>
33

    
34
        <Button
35
            android:layout_width="wrap_content"
36
            android:layout_height="wrap_content"
37
            android:text="@string/alpha"
38
            android:id="@+id/buttonAlpha"
39
            android:onClick="newAlpha"/>
40

    
41
        <Button
42
            android:layout_width="wrap_content"
43
            android:layout_height="wrap_content"
44
            android:text="@string/brightness"
45
            android:id="@+id/buttonBrightness"
46
            android:onClick="newBrightness"/>
47

    
48
        <Button
49
            android:layout_width="wrap_content"
50
            android:layout_height="wrap_content"
51
            android:text="@string/saturation"
52
            android:id="@+id/buttonSaturation"
53
            android:onClick="newSaturation"/>
54
    </LinearLayout>
55

    
56
    <View
57
        android:layout_height="4dip"
58
        android:background="#777777"
59
        android:layout_width="match_parent"
60
        />
61

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

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

    
76
    </ScrollView>
77

    
78
</LinearLayout>
(13-13/31)