1 |
664a0e45
|
Leszek Koltunski
|
<?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.transparency.TransparencySurfaceView
|
8 |
|
|
android:id="@+id/transparencySurfaceView"
|
9 |
|
|
android:layout_width="fill_parent"
|
10 |
|
|
android:layout_height="0dp"
|
11 |
|
|
android:layout_weight="1" />
|
12 |
|
|
|
13 |
|
|
<LinearLayout
|
14 |
a935e9db
|
Leszek Koltunski
|
android:orientation="horizontal"
|
15 |
|
|
android:layout_width="match_parent"
|
16 |
|
|
android:layout_height="wrap_content">
|
17 |
|
|
|
18 |
|
|
<Spinner
|
19 |
|
|
android:layout_width="0dp"
|
20 |
|
|
android:layout_height="50dp"
|
21 |
|
|
android:layout_weight="0.5"
|
22 |
|
|
android:id="@+id/transparency_spinnerFirst"
|
23 |
|
|
/>
|
24 |
|
|
|
25 |
|
|
<Spinner
|
26 |
|
|
android:layout_width="0dp"
|
27 |
|
|
android:layout_height="50dp"
|
28 |
|
|
android:layout_weight="0.5"
|
29 |
|
|
android:id="@+id/transparency_spinnerMode"
|
30 |
|
|
/>
|
31 |
|
|
</LinearLayout>
|
32 |
664a0e45
|
Leszek Koltunski
|
|
33 |
29aba2d1
|
Leszek Koltunski
|
<LinearLayout
|
34 |
a935e9db
|
Leszek Koltunski
|
android:layout_width="fill_parent"
|
35 |
|
|
android:layout_height="50dp"
|
36 |
29aba2d1
|
Leszek Koltunski
|
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
|
58 |
a935e9db
|
Leszek Koltunski
|
android:layout_width="fill_parent"
|
59 |
29aba2d1
|
Leszek Koltunski
|
android:layout_height="50dp"
|
60 |
|
|
android:orientation="horizontal">
|
61 |
664a0e45
|
Leszek Koltunski
|
|
62 |
29aba2d1
|
Leszek Koltunski
|
<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>
|
80 |
664a0e45
|
Leszek Koltunski
|
</LinearLayout>
|