Project

General

Profile

« Previous | Next » 

Revision 29aba2d1

Added by Leszek Koltunski almost 6 years ago

Transparency App: try to postprocess and not-postprocess the Transparent Surfaces.

View differences:

src/main/res/layout/transparencylayout.xml
30 30
            />
31 31
    </LinearLayout>
32 32

  
33
    <SeekBar
34
        android:id="@+id/transparencySeekRed"
35
        android:background="@color/red"
36
        android:layout_height="50dp"
33
    <LinearLayout
37 34
        android:layout_width="fill_parent"
38
        android:paddingLeft="10dp"
39
        android:paddingRight="10dp" />
40
    <SeekBar
41
        android:id="@+id/transparencySeekYellow"
42
        android:background="@color/yellow"
43 35
        android:layout_height="50dp"
36
        android:orientation="horizontal">
37

  
38
        <CheckBox
39
            android:layout_height="fill_parent"
40
            android:layout_width="wrap_content"
41
            android:background="@color/red"
42
            android:id="@+id/transparencyCheckBox0"
43
            android:paddingLeft="10dp"
44
            android:onClick="onClick"
45
            android:checked="true"/>
46

  
47
        <SeekBar
48
            android:id="@+id/transparencySeekRed"
49
            android:background="@color/red"
50
            android:layout_height="fill_parent"
51
            android:layout_width="fill_parent"
52
            android:paddingLeft="10dp"
53
            android:paddingRight="10dp" />
54

  
55
    </LinearLayout>
56

  
57
    <LinearLayout
44 58
        android:layout_width="fill_parent"
45
        android:paddingLeft="10dp"
46
        android:paddingRight="10dp" />
59
        android:layout_height="50dp"
60
        android:orientation="horizontal">
47 61

  
62
        <CheckBox
63
            android:layout_height="fill_parent"
64
            android:layout_width="wrap_content"
65
            android:background="@color/yellow"
66
            android:id="@+id/transparencyCheckBox1"
67
            android:paddingLeft="10dp"
68
            android:onClick="onClick"
69
            android:checked="true"/>
70

  
71
        <SeekBar
72
            android:id="@+id/transparencySeekYellow"
73
            android:background="@color/yellow"
74
            android:layout_height="fill_parent"
75
            android:layout_width="fill_parent"
76
            android:paddingLeft="10dp"
77
            android:paddingRight="10dp" />
78

  
79
    </LinearLayout>
48 80
</LinearLayout>

Also available in: Unified diff