Project

General

Profile

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

examples / src / main / res / layout / fragment3dlayout.xml @ edafb4a7

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

    
18
        <Button
19
            android:layout_width="wrap_content"
20
            android:layout_height="wrap_content"
21
            android:text="@string/chroma"
22
            android:id="@+id/newChroma"
23
            android:onClick="newChroma"/>
24

    
25
        <Button
26
            android:layout_width="wrap_content"
27
            android:layout_height="wrap_content"
28
            android:text="@string/alpha"
29
            android:id="@+id/newAlpha"
30
            android:onClick="newAlpha"/>
31

    
32
        <Button
33
            android:layout_width="wrap_content"
34
            android:layout_height="wrap_content"
35
            android:text="@string/brightness"
36
            android:id="@+id/newBrigthness"
37
            android:onClick="newBrightness"/>
38

    
39
        <Button
40
            android:layout_width="wrap_content"
41
            android:layout_height="wrap_content"
42
            android:text="@string/saturation"
43
            android:id="@+id/newSaturation"
44
            android:onClick="newSaturation"/>
45

    
46
        <Button
47
            android:id="@+id/buttonDefault"
48
            android:layout_width="fill_parent"
49
            android:layout_height="wrap_content"
50
            android:onClick="Remove"
51
            android:text="@string/removebut"
52
            android:layout_gravity="right"
53
            android:layout_marginTop="3dp"/>
54
    </LinearLayout>
55

    
56
    <ScrollView
57
        android:id="@+id/fragment3dscrollView"
58
        android:layout_width="match_parent"
59
        android:layout_height="0dp"
60
        android:layout_weight="0.82" >
61

    
62
        <LinearLayout
63
            android:id="@+id/fragment3dlayout"
64
            android:layout_width="match_parent"
65
            android:layout_height="wrap_content"
66
            android:orientation="vertical" >
67
        </LinearLayout>
68

    
69
    </ScrollView>
70

    
71
</LinearLayout>
(11-11/30)