Project

General

Profile

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

examples / src / main / res / layout / transparencylayout.xml @ 664a0e45

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

    
13
    <LinearLayout
14
        android:id="@+id/linearLayout1"
15
        android:layout_width="fill_parent"
16
        android:layout_height="100dp"
17
        android:orientation="horizontal">
18

    
19
        <LinearLayout
20
            android:id="@+id/linearLayout2"
21
            android:layout_width="wrap_content"
22
            android:layout_height="fill_parent"
23
            android:orientation="vertical"
24
            android:layout_weight="0.1">
25

    
26
            <RadioGroup
27
                android:id="@+id/transparencyRadioGroup"
28
                android:layout_width="fill_parent"
29
                android:layout_height="fill_parent"
30
                android:orientation="vertical">
31

    
32
                <RadioButton
33
                    android:id="@+id/transparencyRed"
34
                    android:layout_width="fill_parent"
35
                    android:layout_height="wrap_content"
36
                    android:layout_weight="1"
37
                    android:background="@color/red"
38
                    android:onClick="renderFirst"
39
                    android:checked="true"
40
                    android:textSize="14sp"/>
41

    
42
                <RadioButton
43
                    android:id="@+id/transparencyYellow"
44
                    android:layout_width="fill_parent"
45
                    android:layout_height="wrap_content"
46
                    android:layout_weight="1"
47
                    android:background="@color/yellow"
48
                    android:onClick="renderFirst"
49
                    android:textSize="14sp"/>
50
            </RadioGroup>
51
        </LinearLayout>
52

    
53
        <LinearLayout
54
            android:id="@+id/linearLayout3"
55
            android:layout_width="wrap_content"
56
            android:layout_height="fill_parent"
57
            android:orientation="vertical"
58
            android:layout_weight="0.9">
59

    
60
            <SeekBar
61
                android:id="@+id/transparencySeekRed"
62
                android:background="@color/red"
63
                android:layout_height="50dp"
64
                android:layout_width="fill_parent"
65
                android:paddingLeft="10dp"
66
                android:paddingRight="10dp" />
67
            <SeekBar
68
                android:id="@+id/transparencySeekYellow"
69
                android:background="@color/yellow"
70
                android:layout_height="50dp"
71
                android:layout_width="fill_parent"
72
                android:paddingLeft="10dp"
73
                android:paddingRight="10dp" />
74

    
75
        </LinearLayout>
76
    </LinearLayout>
77
</LinearLayout>
(34-34/36)