summaryrefslogtreecommitdiffstats
path: root/tests/TransitionTests/res/layout/crossfade_multiple.xml
blob: ca32ecbe29fd5aca82ab7157e8197f038a4da77b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"
              android:layout_width="match_parent"
              android:layout_height="match_parent">

    <RadioGroup android:orientation="horizontal"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content">
        <RadioButton android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:onClick="changeTransitionType"
                     android:id="@+id/reveal"
                     android:text="@string/reveal"/>
        <RadioButton android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:onClick="changeTransitionType"
                     android:id="@+id/crossfade"
                     android:text="@string/crossfade"/>
        <RadioButton android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:onClick="changeTransitionType"
                     android:id="@+id/inout"
                     android:text="@string/inout"/>
        <RadioButton android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:onClick="changeTransitionType"
                     android:id="@+id/textfade1"
                     android:text="@string/textfade1"/>
        <RadioButton android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:onClick="changeTransitionType"
                     android:id="@+id/textfade2"
                     android:text="@string/textfade2"/>
    </RadioGroup>
    <LinearLayout android:orientation="horizontal"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content">
        <Button
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:onClick="sendMessage"
                android:text="@string/state1"
                android:id="@+id/button1"/>
        <Button
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:onClick="sendMessage"
                android:text="@string/state2"
                android:id="@+id/button2"/>
        <Button
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:onClick="sendMessage"
                android:text="@string/state3"
                android:id="@+id/button3"/>
    </LinearLayout>

    <LinearLayout android:orientation="vertical"
                  android:id="@+id/container"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent">
        <Button
                android:layout_width="100dip"
                android:layout_height="100dip"
                android:textSize="40dip"
                android:text="@string/a"
                android:id="@+id/button"/>
        <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="40dip"
                android:text="@string/state1"
                android:id="@+id/textview"/>
        <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/self_portrait_square_100"
                android:onClick="sendMessage"
                android:id="@+id/imageview"/>
    </LinearLayout>

</LinearLayout>