Project

General

Profile

« Previous | Next » 

Revision 3a4f3ae2

Added by Leszek Koltunski almost 7 years ago

Improve 'Glow' app.

View differences:

src/main/res/layout/glowlayout.xml
18 18
        android:orientation="horizontal" >
19 19

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

  
29 29
        <SeekBar
30
                android:id="@+id/glowSeek"
30
                android:id="@+id/glowSeekRadius"
31 31
                android:layout_width="fill_parent"
32 32
                android:layout_height="wrap_content"
33 33
                android:layout_weight="1"
34 34
                android:paddingLeft="15dp"
35 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" />
36 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" />
37 61
    </LinearLayout>
38 62

  
39 63
</LinearLayout>

Also available in: Unified diff