Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      3     android:orientation="vertical"
      4     android:layout_width="match_parent"
      5     android:layout_height="wrap_content">
      6     <LinearLayout android:orientation="horizontal"
      7         android:layout_width="wrap_content"
      8         android:layout_height="wrap_content"
      9         android:layout_gravity="left">
     10         <TextView android:layout_width="wrap_content"
     11             android:layout_height="wrap_content"
     12             android:layout_marginRight="3dip"
     13             android:text="@string/insert_record" />
     14         <EditText android:id="@+id/insert_text"
     15             android:layout_width="0dip"
     16             android:layout_weight="1"
     17             android:layout_height="wrap_content" />
     18     </LinearLayout>
     19 
     20     <LinearLayout android:orientation="horizontal"
     21         android:layout_width="wrap_content"
     22         android:layout_height="wrap_content"
     23         android:layout_gravity="left">
     24         <EditText android:id="@+id/media_text"
     25             android:layout_width="0dip"
     26             android:layout_weight="1"
     27             android:layout_height="wrap_content" />
     28         <EditText android:id="@+id/address_text"
     29             android:layout_width="0dip"
     30             android:layout_weight="1"
     31             android:layout_height="wrap_content" />
     32         <Button android:id="@+id/insert_record"
     33             android:layout_width="0dip"
     34             android:layout_weight="1"
     35             android:layout_height="wrap_content"
     36             android:layout_marginRight="3dip"
     37             android:text="@string/ok_button" />
     38     </LinearLayout>
     39 
     40     <LinearLayout android:orientation="horizontal"
     41         android:layout_width="wrap_content"
     42         android:layout_height="wrap_content">
     43         <TextView android:layout_width="wrap_content"
     44             android:layout_height="wrap_content"
     45             android:layout_marginRight="3dip"
     46             android:text="@string/delete_record" />
     47         <EditText android:id="@+id/delete_text"
     48             android:layout_width="0dip"
     49             android:layout_weight="1"
     50             android:layout_height="wrap_content" />
     51         <Button android:id="@+id/delete_record"
     52             android:layout_width="wrap_content"
     53             android:layout_height="wrap_content"
     54             android:layout_marginRight="3dip"
     55             android:text="@string/ok_button" />
     56     </LinearLayout>
     57 
     58     <LinearLayout android:orientation="horizontal"
     59         android:layout_width="wrap_content"
     60         android:layout_height="wrap_content">
     61         <TextView android:layout_width="wrap_content"
     62             android:layout_height="wrap_content"
     63             android:layout_marginRight="3dip"
     64             android:text="@string/update_record" />
     65         <EditText android:id="@+id/update_text"
     66             android:layout_width="0dip"
     67             android:layout_weight="1"
     68             android:layout_height="wrap_content" />
     69         <Button android:id="@+id/update_record"
     70             android:layout_width="wrap_content"
     71             android:layout_height="wrap_content"
     72             android:layout_marginRight="3dip"
     73             android:text="@string/ok_button" />
     74     </LinearLayout>
     75 
     76     <LinearLayout android:orientation="horizontal"
     77         android:layout_width="wrap_content"
     78         android:layout_height="wrap_content">
     79         <TextView android:layout_width="wrap_content"
     80             android:layout_height="wrap_content"
     81             android:layout_marginRight="3dip"
     82             android:text="@string/ack_record" />
     83         <EditText android:id="@+id/ack_text"
     84             android:layout_width="0dip"
     85             android:layout_weight="1"
     86             android:layout_height="wrap_content" />
     87         <Button android:id="@+id/ack_record"
     88             android:layout_width="wrap_content"
     89             android:layout_height="wrap_content"
     90             android:layout_marginRight="3dip"
     91             android:text="@string/ok_button" />
     92     </LinearLayout>
     93 
     94     <Button android:id="@+id/deleteAll_record"
     95         android:layout_height="wrap_content"
     96         android:layout_width="wrap_content"
     97         android:text="@string/deleteAll_record"></Button>
     98 
     99     <Button android:id="@+id/start_server"
    100         android:layout_height="wrap_content"
    101         android:layout_width="wrap_content"
    102         android:text="@string/start_server"></Button>
    103 
    104     <Button android:id="@+id/notify_server"
    105         android:layout_height="wrap_content"
    106         android:layout_width="wrap_content"
    107         android:text="@string/notify_server"></Button>
    108 </LinearLayout>
    109