Project

General

Profile

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

examples / src / main / res / layout / glowlayout.xml @ bf3b5480

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.glow.GlowSurfaceView
8
        android:id="@+id/glowSurfaceView"
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="wrap_content"
17
        android:gravity="center|fill_horizontal"
18
        android:orientation="horizontal" >
19

    
20
        <TextView
21
                android:id="@+id/glowTextRadius"
22
                android:layout_width="150dp"
23
                android:layout_height="wrap_content"
24
                android:layout_weight="0.5"
25
                android:gravity="center_vertical|center"
26
                android:text="@string/radius"
27
                android:textAppearance="?android:attr/textAppearanceMedium" />
28

    
29
        <SeekBar
30
                android:id="@+id/glowSeekRadius"
31
                android:layout_width="fill_parent"
32
                android:layout_height="wrap_content"
33
                android:layout_weight="1"
34
                android:paddingLeft="15dp"
35
                android:paddingRight="10dp" />
36
    </LinearLayout>
37

    
38
    <LinearLayout
39
        android:id="@+id/linearLayout2"
40
        android:layout_width="fill_parent"
41
        android:layout_height="wrap_content"
42
        android:gravity="center|fill_horizontal"
43
        android:orientation="horizontal" >
44

    
45
        <TextView
46
                android:id="@+id/glowTextAlpha"
47
                android:layout_width="150dp"
48
                android:layout_height="wrap_content"
49
                android:layout_weight="0.5"
50
                android:gravity="center_vertical|center"
51
                android:text="@string/glow_alpha"
52
                android:textAppearance="?android:attr/textAppearanceMedium" />
53

    
54
        <SeekBar
55
                android:id="@+id/glowSeekAlpha"
56
                android:layout_width="fill_parent"
57
                android:layout_height="wrap_content"
58
                android:layout_weight="1"
59
                android:paddingLeft="15dp"
60
                android:paddingRight="10dp" />
61
    </LinearLayout>
62

    
63
    <LinearLayout
64
        android:id="@+id/linearLayout3"
65
        android:layout_width="fill_parent"
66
        android:layout_height="wrap_content"
67
        android:gravity="center|fill_horizontal"
68
        android:orientation="horizontal"
69
        android:background="@color/blue"
70
        android:paddingBottom="10dp"
71
        android:paddingTop="10dp" >
72

    
73
        <RadioGroup
74
            android:id="@+id/glowRadioGroup"
75
            android:layout_width="match_parent"
76
            android:layout_height="wrap_content"
77
            android:orientation="horizontal">
78

    
79
            <RadioButton
80
                android:id="@+id/glowRadioQuality0"
81
                android:layout_width="match_parent"
82
                android:layout_height="wrap_content"
83
                android:layout_weight="1"
84
                android:checked="true"
85
                android:onClick="quality0"
86
                android:text="@string/quality0"
87
                android:textSize="14sp"/>
88

    
89
            <RadioButton
90
                android:id="@+id/glowRadioQuality1"
91
                android:layout_width="match_parent"
92
                android:layout_height="wrap_content"
93
                android:layout_weight="1"
94
                android:onClick="quality1"
95
                android:text="@string/quality1"
96
                android:textSize="14sp"/>
97

    
98
            <RadioButton
99
                android:id="@+id/glowRadioQuality2"
100
                android:layout_width="match_parent"
101
                android:layout_height="wrap_content"
102
                android:layout_weight="1"
103
                android:onClick="quality2"
104
                android:text="@string/quality2"
105
                android:textSize="14sp"/>
106

    
107
            <RadioButton
108
                android:id="@+id/glowRadioQuality3"
109
                android:layout_width="match_parent"
110
                android:layout_height="wrap_content"
111
                android:layout_weight="1"
112
                android:onClick="quality3"
113
                android:text="@string/quality3"
114
                android:textSize="14sp"/>
115

    
116
        </RadioGroup>
117

    
118
    </LinearLayout>
119

    
120
</LinearLayout>
(27-27/47)