Project

General

Profile

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

examples / src / main / res / layout / glowlayout.xml @ 3a4f3ae2

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/glow_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>
(21-21/33)