diff options
author | Felix Palmer <felix.palmer@metaswitch.com> | 2011-12-02 13:29:41 -0800 |
---|---|---|
committer | Felix Palmer <felix.palmer@metaswitch.com> | 2011-12-02 13:29:41 -0800 |
commit | a92a1757e7b882e0dbb00a7c580bfa3e09255083 (patch) | |
tree | e25e7668b1c51ac3f7a8a9e465a719a101f8a837 /res/layout/main.xml | |
parent | 80b5eeb678618b7a82a513da5d4cf480e6e1cde4 (diff) | |
download | android_external_android-visualizer-a92a1757e7b882e0dbb00a7c580bfa3e09255083.tar.gz android_external_android-visualizer-a92a1757e7b882e0dbb00a7c580bfa3e09255083.tar.bz2 android_external_android-visualizer-a92a1757e7b882e0dbb00a7c580bfa3e09255083.zip |
Added stop/start buttons
Diffstat (limited to 'res/layout/main.xml')
-rw-r--r-- | res/layout/main.xml | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/res/layout/main.xml b/res/layout/main.xml index bc12cd8..83899fc 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -4,9 +4,34 @@ android:layout_height="fill_parent" android:orientation="vertical" > - <TextView + <FrameLayout + android:layout_width="fill_parent" + android:layout_height="0dp" + android:layout_weight="1" > + </FrameLayout> + + <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" - android:text="@string/hello" /> + android:layout_weight="0" > + + <Button + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_margin="10dp" + android:layout_weight="0.5" + android:onClick="startPressed" + android:text="Start" > + </Button> + + <Button + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_margin="10dp" + android:layout_weight="0.5" + android:onClick="stopPressed" + android:text="Stop" > + </Button> + </LinearLayout> </LinearLayout>
\ No newline at end of file |