1 |
427ab7bf
|
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 |
5068fa06
|
Leszek Koltunski
|
<org.distorted.examples.movingeffects.MovingEffectsSurfaceView
|
8 |
427ab7bf
|
Leszek Koltunski
|
android:id="@+id/movingeffectsSurfaceView"
|
9 |
|
|
android:layout_width="fill_parent"
|
10 |
|
|
android:layout_height="0dp"
|
11 |
|
|
android:layout_weight="1" />
|
12 |
|
|
|
13 |
|
|
<LinearLayout
|
14 |
|
|
android:id="@+id/linearLayout1"
|
15 |
|
|
android:layout_width="fill_parent"
|
16 |
|
|
android:layout_height="wrap_content"
|
17 |
|
|
android:gravity="center|fill_horizontal"
|
18 |
|
|
android:paddingBottom="10dp"
|
19 |
|
|
android:paddingTop="10dp" >
|
20 |
|
|
|
21 |
|
|
<Button
|
22 |
|
|
android:id="@+id/movingeffectsSwirl"
|
23 |
|
|
android:layout_width="wrap_content"
|
24 |
|
|
android:layout_height="wrap_content"
|
25 |
|
|
android:layout_marginLeft="2dp"
|
26 |
|
|
android:layout_marginRight="2dp"
|
27 |
|
|
android:layout_weight="0.17"
|
28 |
|
|
android:onClick="Swirl"
|
29 |
|
|
android:paddingLeft="5dp"
|
30 |
|
|
android:paddingRight="5dp"
|
31 |
|
|
android:text="@string/swirl" />
|
32 |
|
|
|
33 |
|
|
<Button
|
34 |
|
|
android:id="@+id/movingeffectsBubble"
|
35 |
|
|
android:layout_width="wrap_content"
|
36 |
|
|
android:layout_height="wrap_content"
|
37 |
|
|
android:layout_marginLeft="2dp"
|
38 |
|
|
android:layout_marginRight="2dp"
|
39 |
|
|
android:layout_weight="0.17"
|
40 |
|
|
android:onClick="Bubble"
|
41 |
|
|
android:paddingLeft="5dp"
|
42 |
|
|
android:paddingRight="5dp"
|
43 |
|
|
android:text="@string/bubble" />
|
44 |
|
|
|
45 |
|
|
<Button
|
46 |
|
|
android:id="@+id/movingeffectsSink"
|
47 |
|
|
android:layout_width="54dp"
|
48 |
|
|
android:layout_height="wrap_content"
|
49 |
|
|
android:layout_marginLeft="2dp"
|
50 |
|
|
android:layout_marginRight="2dp"
|
51 |
|
|
android:layout_weight="0.17"
|
52 |
|
|
android:onClick="Sink"
|
53 |
|
|
android:paddingLeft="5dp"
|
54 |
|
|
android:paddingRight="5dp"
|
55 |
|
|
android:text="@string/sink" />
|
56 |
|
|
|
57 |
|
|
<Button
|
58 |
|
|
android:id="@+id/movingeffectsTrans"
|
59 |
|
|
android:layout_width="wrap_content"
|
60 |
|
|
android:layout_height="wrap_content"
|
61 |
|
|
android:layout_marginLeft="2dp"
|
62 |
|
|
android:layout_marginRight="2dp"
|
63 |
|
|
android:layout_weight="0.17"
|
64 |
|
|
android:onClick="Transparency"
|
65 |
|
|
android:paddingLeft="5dp"
|
66 |
|
|
android:paddingRight="5dp"
|
67 |
b4a73ea5
|
Leszek Koltunski
|
android:text="@string/alpha" />
|
68 |
427ab7bf
|
Leszek Koltunski
|
|
69 |
|
|
<Button
|
70 |
4348b52e
|
Leszek Koltunski
|
android:id="@+id/movingeffectsChroma"
|
71 |
427ab7bf
|
Leszek Koltunski
|
android:layout_width="wrap_content"
|
72 |
|
|
android:layout_height="wrap_content"
|
73 |
|
|
android:layout_marginLeft="2dp"
|
74 |
|
|
android:layout_marginRight="2dp"
|
75 |
|
|
android:layout_weight="0.17"
|
76 |
4348b52e
|
Leszek Koltunski
|
android:onClick="Chroma"
|
77 |
427ab7bf
|
Leszek Koltunski
|
android:paddingLeft="5dp"
|
78 |
|
|
android:paddingRight="5dp"
|
79 |
4348b52e
|
Leszek Koltunski
|
android:text="@string/chroma" />
|
80 |
427ab7bf
|
Leszek Koltunski
|
|
81 |
|
|
<Button
|
82 |
|
|
android:id="@+id/movingeffectsAbort"
|
83 |
|
|
android:layout_width="wrap_content"
|
84 |
|
|
android:layout_height="wrap_content"
|
85 |
|
|
android:layout_marginLeft="2dp"
|
86 |
|
|
android:layout_marginRight="2dp"
|
87 |
|
|
android:layout_weight="0.17"
|
88 |
|
|
android:onClick="Abort"
|
89 |
|
|
android:paddingLeft="5dp"
|
90 |
|
|
android:paddingRight="5dp"
|
91 |
|
|
android:text="@string/reset" />
|
92 |
|
|
|
93 |
|
|
</LinearLayout>
|
94 |
|
|
|
95 |
|
|
</LinearLayout>
|