Project

General

Profile

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

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

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.triblur.TriblurSurfaceView
8
        android:id="@+id/triblurSurfaceView"
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:background="@color/red"
16
        android:layout_width="match_parent"
17
        android:layout_height="50dp"
18
        android:paddingBottom="10dp"
19
        android:paddingTop="10dp">
20

    
21
        <CheckBox
22
            android:layout_height="fill_parent"
23
            android:layout_width="wrap_content"
24
            android:id="@+id/triblurCheckBox0"
25
            android:paddingLeft="10dp"
26
            android:onClick="onClick"
27
            android:checked="true"/>
28

    
29
        <SeekBar
30
            android:id="@+id/triblurSeek0"
31
            android:layout_height="fill_parent"
32
            android:layout_width="fill_parent"
33
            android:paddingLeft="10dp"
34
            android:paddingRight="10dp" />
35
    </LinearLayout>
36

    
37
    <LinearLayout
38
        android:orientation="horizontal"
39
        android:background="@color/yellow"
40
        android:layout_width="match_parent"
41
        android:layout_height="50dp"
42
        android:paddingBottom="10dp"
43
        android:paddingTop="10dp">
44

    
45
        <CheckBox
46
            android:layout_height="fill_parent"
47
            android:layout_width="wrap_content"
48
            android:id="@+id/triblurCheckBox1"
49
            android:paddingLeft="10dp"
50
            android:onClick="onClick"
51
            android:checked="true"/>
52

    
53
        <SeekBar
54
            android:id="@+id/triblurSeek1"
55
            android:layout_height="fill_parent"
56
            android:layout_width="fill_parent"
57
            android:paddingLeft="10dp"
58
            android:paddingRight="10dp" />
59
    </LinearLayout>
60

    
61
    <LinearLayout
62
        android:orientation="horizontal"
63
        android:background="@color/green"
64
        android:layout_width="match_parent"
65
        android:layout_height="50dp"
66
        android:paddingBottom="10dp"
67
        android:paddingTop="10dp">
68

    
69
        <CheckBox
70
            android:layout_height="fill_parent"
71
            android:layout_width="wrap_content"
72
            android:id="@+id/triblurCheckBox2"
73
            android:paddingLeft="10dp"
74
            android:onClick="onClick"
75
            android:checked="true"/>
76

    
77
        <SeekBar
78
            android:id="@+id/triblurSeek2"
79
            android:layout_height="fill_parent"
80
            android:layout_width="fill_parent"
81
            android:paddingLeft="10dp"
82
            android:paddingRight="10dp" />
83
    </LinearLayout>
84

    
85
    <LinearLayout
86
        android:id="@+id/linearLayout3"
87
        android:layout_width="fill_parent"
88
        android:layout_height="wrap_content"
89
        android:gravity="center|fill_horizontal"
90
        android:orientation="horizontal"
91
        android:background="@color/blue"
92
        android:paddingBottom="10dp"
93
        android:paddingTop="10dp" >
94

    
95
        <RadioGroup
96
            android:id="@+id/triblurRadioGroup"
97
            android:layout_width="match_parent"
98
            android:layout_height="wrap_content"
99
            android:orientation="horizontal">
100

    
101
            <RadioButton
102
                android:id="@+id/triblurRadioQuality0"
103
                android:layout_width="match_parent"
104
                android:layout_height="wrap_content"
105
                android:layout_weight="1"
106
                android:onClick="quality0"
107
                android:text="@string/quality0"
108
                android:textSize="14sp"/>
109

    
110
            <RadioButton
111
                android:id="@+id/triblurRadioQuality1"
112
                android:layout_width="match_parent"
113
                android:layout_height="wrap_content"
114
                android:layout_weight="1"
115
                android:checked="true"
116
                android:onClick="quality1"
117
                android:text="@string/quality1"
118
                android:textSize="14sp"/>
119

    
120
            <RadioButton
121
                android:id="@+id/triblurRadioQuality2"
122
                android:layout_width="match_parent"
123
                android:layout_height="wrap_content"
124
                android:layout_weight="1"
125
                android:onClick="quality2"
126
                android:text="@string/quality2"
127
                android:textSize="14sp"/>
128

    
129
            <RadioButton
130
                android:id="@+id/triblurRadioQuality3"
131
                android:layout_width="match_parent"
132
                android:layout_height="wrap_content"
133
                android:layout_weight="1"
134
                android:onClick="quality3"
135
                android:text="@string/quality3"
136
                android:textSize="14sp"/>
137

    
138
        </RadioGroup>
139

    
140
    </LinearLayout>
141

    
142
</LinearLayout>
(33-33/34)