Project

General

Profile

« Previous | Next » 

Revision bf2e8f97

Added by Leszek Koltunski over 3 years ago

Improve the Blur App to catch the bug where a small part of the Blur (and Glow) halo gets displayed on the other edge of the surface.

View differences:

src/main/res/layout/blurlayout.xml
11 11
        android:layout_weight="1" />
12 12

  
13 13
    <LinearLayout
14
        android:id="@+id/linearLayout1"
14
        android:layout_width="fill_parent"
15
        android:layout_height="wrap_content"
16
        android:gravity="center|fill_horizontal"
17
        android:orientation="horizontal" >
18

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

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

  
36
    </LinearLayout>
37

  
38
    <LinearLayout
15 39
        android:layout_width="fill_parent"
16 40
        android:layout_height="wrap_content"
17 41
        android:gravity="center|fill_horizontal"
......
36 60

  
37 61
    </LinearLayout>
38 62

  
63
    <LinearLayout
64
        android:layout_width="fill_parent"
65
        android:layout_height="wrap_content"
66
        android:gravity="center|fill_horizontal"
67
        android:orientation="horizontal" >
68

  
69
        <TextView
70
                android:id="@+id/moveText"
71
                android:layout_width="150dp"
72
                android:layout_height="wrap_content"
73
                android:layout_weight="0.5"
74
                android:gravity="center_vertical|center"
75
                android:text="@string/blur"
76
                android:textAppearance="?android:attr/textAppearanceMedium" />
77

  
78
        <SeekBar
79
                android:id="@+id/moveSeek"
80
                android:layout_width="fill_parent"
81
                android:layout_height="wrap_content"
82
                android:layout_weight="1"
83
                android:paddingLeft="15dp"
84
                android:paddingRight="10dp" />
85

  
86
    </LinearLayout>
87

  
39 88
</LinearLayout>

Also available in: Unified diff