• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2
3<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4              android:orientation="vertical"
5              android:layout_width="match_parent"
6              android:layout_height="match_parent">
7
8    <RadioGroup android:orientation="horizontal"
9                  android:layout_width="match_parent"
10                  android:layout_height="wrap_content">
11        <RadioButton android:layout_width="wrap_content"
12                     android:layout_height="wrap_content"
13                     android:onClick="changeTransitionType"
14                     android:id="@+id/reveal"
15                     android:text="@string/reveal"/>
16        <RadioButton android:layout_width="wrap_content"
17                     android:layout_height="wrap_content"
18                     android:onClick="changeTransitionType"
19                     android:id="@+id/crossfade"
20                     android:text="@string/crossfade"/>
21        <RadioButton android:layout_width="wrap_content"
22                     android:layout_height="wrap_content"
23                     android:onClick="changeTransitionType"
24                     android:id="@+id/inout"
25                     android:text="@string/inout"/>
26        <RadioButton android:layout_width="wrap_content"
27                     android:layout_height="wrap_content"
28                     android:onClick="changeTransitionType"
29                     android:id="@+id/textfade1"
30                     android:text="@string/textfade1"/>
31        <RadioButton android:layout_width="wrap_content"
32                     android:layout_height="wrap_content"
33                     android:onClick="changeTransitionType"
34                     android:id="@+id/textfade2"
35                     android:text="@string/textfade2"/>
36        <RadioButton android:layout_width="wrap_content"
37                     android:layout_height="wrap_content"
38                     android:onClick="changeTransitionType"
39                     android:id="@+id/textfade3"
40                     android:text="@string/textfade3"/>
41    </RadioGroup>
42    <LinearLayout android:orientation="horizontal"
43                  android:layout_width="match_parent"
44                  android:layout_height="wrap_content">
45        <Button
46                android:layout_width="wrap_content"
47                android:layout_height="wrap_content"
48                android:onClick="sendMessage"
49                android:text="@string/state1"
50                android:id="@+id/button1"/>
51        <Button
52                android:layout_width="wrap_content"
53                android:layout_height="wrap_content"
54                android:onClick="sendMessage"
55                android:text="@string/state2"
56                android:id="@+id/button2"/>
57        <Button
58                android:layout_width="wrap_content"
59                android:layout_height="wrap_content"
60                android:onClick="sendMessage"
61                android:text="@string/state3"
62                android:id="@+id/button3"/>
63    </LinearLayout>
64
65    <LinearLayout android:orientation="vertical"
66                  android:id="@+id/container"
67                  android:layout_width="match_parent"
68                  android:layout_height="match_parent">
69        <Button
70                android:layout_width="100dip"
71                android:layout_height="100dip"
72                android:textSize="40dip"
73                android:text="@string/a"
74                android:id="@+id/button"/>
75        <TextView
76                android:layout_width="wrap_content"
77                android:layout_height="wrap_content"
78                android:textSize="40dip"
79                android:text="@string/state1"
80                android:id="@+id/textview"/>
81        <ImageView
82                android:layout_width="wrap_content"
83                android:layout_height="wrap_content"
84                android:src="@drawable/self_portrait_square_100"
85                android:onClick="sendMessage"
86                android:id="@+id/imageview"/>
87    </LinearLayout>
88
89</LinearLayout>