1 |
80f37d1b
|
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.triblur.TriblurSurfaceView
|
8 |
|
|
android:id="@+id/triblurSurfaceView"
|
9 |
|
|
android:layout_width="fill_parent"
|
10 |
|
|
android:layout_height="0dp"
|
11 |
|
|
android:layout_weight="1" />
|
12 |
|
|
|
13 |
a935e9db
|
Leszek Koltunski
|
<LinearLayout
|
14 |
|
|
android:id="@+id/linearLayout3"
|
15 |
|
|
android:layout_width="fill_parent"
|
16 |
|
|
android:layout_height="wrap_content"
|
17 |
|
|
android:gravity="center|fill_horizontal"
|
18 |
|
|
android:orientation="horizontal"
|
19 |
|
|
android:background="@color/blue">
|
20 |
|
|
|
21 |
|
|
<Spinner
|
22 |
|
|
android:layout_width="0dp"
|
23 |
|
|
android:layout_height="50dp"
|
24 |
|
|
android:layout_weight="0.5"
|
25 |
|
|
android:id="@+id/triblur_spinnerQuality"
|
26 |
|
|
/>
|
27 |
|
|
|
28 |
|
|
<Spinner
|
29 |
|
|
android:layout_width="0dp"
|
30 |
|
|
android:layout_height="50dp"
|
31 |
|
|
android:layout_weight="0.5"
|
32 |
|
|
android:id="@+id/triblur_spinnerMode"
|
33 |
|
|
/>
|
34 |
|
|
</LinearLayout>
|
35 |
|
|
|
36 |
80f37d1b
|
Leszek Koltunski
|
<LinearLayout
|
37 |
|
|
android:layout_width="match_parent"
|
38 |
c40df162
|
Leszek Koltunski
|
android:layout_height="60dp"
|
39 |
|
|
android:background="@color/red"
|
40 |
|
|
android:orientation="horizontal"
|
41 |
|
|
android:paddingTop="5dp">
|
42 |
80f37d1b
|
Leszek Koltunski
|
|
43 |
1b80a6e2
|
Leszek Koltunski
|
<Spinner
|
44 |
c40df162
|
Leszek Koltunski
|
android:layout_width="0dp"
|
45 |
1b80a6e2
|
Leszek Koltunski
|
android:layout_height="50dp"
|
46 |
|
|
android:layout_weight="0.5"
|
47 |
|
|
android:id="@+id/triblur_effect0" />
|
48 |
80f37d1b
|
Leszek Koltunski
|
<SeekBar
|
49 |
|
|
android:id="@+id/triblurSeek0"
|
50 |
c40df162
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
51 |
80f37d1b
|
Leszek Koltunski
|
android:layout_height="fill_parent"
|
52 |
1b80a6e2
|
Leszek Koltunski
|
android:layout_weight="0.5"
|
53 |
c40df162
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
54 |
|
|
android:paddingRight="5dp" />
|
55 |
80f37d1b
|
Leszek Koltunski
|
</LinearLayout>
|
56 |
|
|
|
57 |
|
|
<LinearLayout
|
58 |
|
|
android:layout_width="match_parent"
|
59 |
c40df162
|
Leszek Koltunski
|
android:layout_height="60dp"
|
60 |
|
|
android:background="@color/yellow"
|
61 |
|
|
android:orientation="horizontal"
|
62 |
|
|
android:paddingTop="5dp">
|
63 |
80f37d1b
|
Leszek Koltunski
|
|
64 |
1b80a6e2
|
Leszek Koltunski
|
<Spinner
|
65 |
c40df162
|
Leszek Koltunski
|
android:layout_width="0dp"
|
66 |
1b80a6e2
|
Leszek Koltunski
|
android:layout_height="50dp"
|
67 |
|
|
android:layout_weight="0.5"
|
68 |
|
|
android:id="@+id/triblur_effect1" />
|
69 |
80f37d1b
|
Leszek Koltunski
|
<SeekBar
|
70 |
|
|
android:id="@+id/triblurSeek1"
|
71 |
c40df162
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
72 |
80f37d1b
|
Leszek Koltunski
|
android:layout_height="fill_parent"
|
73 |
1b80a6e2
|
Leszek Koltunski
|
android:layout_weight="0.5"
|
74 |
c40df162
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
75 |
|
|
android:paddingRight="5dp" />
|
76 |
80f37d1b
|
Leszek Koltunski
|
</LinearLayout>
|
77 |
|
|
|
78 |
|
|
<LinearLayout
|
79 |
|
|
android:layout_width="match_parent"
|
80 |
c40df162
|
Leszek Koltunski
|
android:layout_height="60dp"
|
81 |
|
|
android:background="@color/green"
|
82 |
|
|
android:orientation="horizontal"
|
83 |
|
|
android:paddingTop="5dp">
|
84 |
80f37d1b
|
Leszek Koltunski
|
|
85 |
1b80a6e2
|
Leszek Koltunski
|
<Spinner
|
86 |
c40df162
|
Leszek Koltunski
|
android:layout_width="0dp"
|
87 |
1b80a6e2
|
Leszek Koltunski
|
android:layout_height="50dp"
|
88 |
|
|
android:layout_weight="0.5"
|
89 |
|
|
android:id="@+id/triblur_effect2" />
|
90 |
80f37d1b
|
Leszek Koltunski
|
<SeekBar
|
91 |
|
|
android:id="@+id/triblurSeek2"
|
92 |
c40df162
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
93 |
80f37d1b
|
Leszek Koltunski
|
android:layout_height="fill_parent"
|
94 |
1b80a6e2
|
Leszek Koltunski
|
android:layout_weight="0.5"
|
95 |
c40df162
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
96 |
|
|
android:paddingRight="5dp" />
|
97 |
80f37d1b
|
Leszek Koltunski
|
</LinearLayout>
|
98 |
|
|
|
99 |
f1b8b412
|
Leszek Koltunski
|
<LinearLayout
|
100 |
|
|
android:id="@+id/linearLayout2"
|
101 |
|
|
android:layout_width="fill_parent"
|
102 |
|
|
android:layout_height="wrap_content"
|
103 |
|
|
android:gravity="center|fill_horizontal"
|
104 |
|
|
android:orientation="horizontal"
|
105 |
|
|
android:background="@color/cyan"
|
106 |
c40df162
|
Leszek Koltunski
|
android:paddingBottom="2dp"
|
107 |
|
|
android:paddingTop="2dp" >
|
108 |
f1b8b412
|
Leszek Koltunski
|
|
109 |
|
|
<RadioGroup
|
110 |
|
|
android:id="@+id/triblurRadioBackground"
|
111 |
|
|
android:layout_width="match_parent"
|
112 |
|
|
android:layout_height="wrap_content"
|
113 |
|
|
android:orientation="horizontal">
|
114 |
|
|
|
115 |
|
|
<RadioButton
|
116 |
|
|
android:id="@+id/triblurRadioBackground0"
|
117 |
|
|
android:layout_width="match_parent"
|
118 |
|
|
android:layout_height="wrap_content"
|
119 |
|
|
android:layout_weight="1"
|
120 |
|
|
android:onClick="backgroundColor"
|
121 |
|
|
android:text="@string/color_black"
|
122 |
|
|
android:textSize="16sp"/>
|
123 |
|
|
|
124 |
|
|
<RadioButton
|
125 |
|
|
android:id="@+id/triblurRadioBackground1"
|
126 |
|
|
android:layout_width="match_parent"
|
127 |
|
|
android:layout_height="wrap_content"
|
128 |
|
|
android:layout_weight="1"
|
129 |
|
|
android:checked="true"
|
130 |
|
|
android:onClick="backgroundColor"
|
131 |
|
|
android:text="@string/color_white"
|
132 |
|
|
android:textSize="16sp"/>
|
133 |
|
|
|
134 |
|
|
<RadioButton
|
135 |
|
|
android:id="@+id/triblurRadioBackground2"
|
136 |
|
|
android:layout_width="match_parent"
|
137 |
|
|
android:layout_height="wrap_content"
|
138 |
|
|
android:layout_weight="1"
|
139 |
|
|
android:onClick="backgroundColor"
|
140 |
|
|
android:text="@string/color_blue"
|
141 |
|
|
android:textSize="16sp"/>
|
142 |
|
|
|
143 |
|
|
</RadioGroup>
|
144 |
|
|
|
145 |
|
|
</LinearLayout>
|
146 |
|
|
|
147 |
80f37d1b
|
Leszek Koltunski
|
</LinearLayout>
|