]> www.average.org Git - UdpRespond.git/blobdiff - res/layout/main.xml
start thread and communicate with it
[UdpRespond.git] / res / layout / main.xml
index 3ffa301971b9e7315f128abdce83277f7face432..9caf5f68a4b11f3b1f3797332ca487df4ab27a67 100644 (file)
@@ -4,10 +4,20 @@
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     >
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     >
-<TextView  
-    android:layout_width="fill_parent" 
+<Button android:id="@+id/btn_stop"
+    android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_height="wrap_content" 
-    android:text="Hello World, UdpRespondActivity"
+    android:text="Stop"
+    />
+<Button android:id="@+id/btn_start"
+    android:layout_width="wrap_content" 
+    android:layout_height="wrap_content" 
+    android:text="Start"
+    />
+<TextView android:id="@+id/tv"
+    android:layout_width="wrap_content" 
+    android:layout_height="wrap_content" 
+    android:text="UdpRespondActivity"
     />
 </LinearLayout>
 
     />
 </LinearLayout>