Chet Haase | c81a849 | 2013-07-12 12:54:38 -0700 | [diff] [blame] | 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 | </RadioGroup> |
| 37 | <LinearLayout android:orientation="horizontal" |
| 38 | android:layout_width="match_parent" |
| 39 | android:layout_height="wrap_content"> |
| 40 | <Button |
| 41 | android:layout_width="wrap_content" |
| 42 | android:layout_height="wrap_content" |
| 43 | android:onClick="sendMessage" |
| 44 | android:text="@string/state1" |
| 45 | android:id="@+id/button1"/> |
| 46 | <Button |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="wrap_content" |
| 49 | android:onClick="sendMessage" |
| 50 | android:text="@string/state2" |
| 51 | android:id="@+id/button2"/> |
| 52 | <Button |
| 53 | android:layout_width="wrap_content" |
| 54 | android:layout_height="wrap_content" |
| 55 | android:onClick="sendMessage" |
| 56 | android:text="@string/state3" |
| 57 | android:id="@+id/button3"/> |
| 58 | </LinearLayout> |
| 59 | |
| 60 | <LinearLayout android:orientation="vertical" |
| 61 | android:id="@+id/container" |
| 62 | android:layout_width="match_parent" |
| 63 | android:layout_height="match_parent"> |
| 64 | <Button |
| 65 | android:layout_width="100dip" |
| 66 | android:layout_height="100dip" |
| 67 | android:textSize="40dip" |
| 68 | android:text="@string/a" |
| 69 | android:id="@+id/button"/> |
| 70 | <TextView |
| 71 | android:layout_width="wrap_content" |
| 72 | android:layout_height="wrap_content" |
| 73 | android:textSize="40dip" |
| 74 | android:text="@string/state1" |
| 75 | android:id="@+id/textview"/> |
| 76 | <ImageView |
| 77 | android:layout_width="wrap_content" |
| 78 | android:layout_height="wrap_content" |
| 79 | android:src="@drawable/self_portrait_square_100" |
| 80 | android:onClick="sendMessage" |
| 81 | android:id="@+id/imageview"/> |
| 82 | </LinearLayout> |
| 83 | |
| 84 | </LinearLayout> |