Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   Copyright 2017 The Android Open Source Project
      4 
      5   Licensed under the Apache License, Version 2.0 (the "License");
      6   you may not use this file except in compliance with the License.
      7   You may obtain a copy of the License at
      8 
      9   http://www.apache.org/licenses/LICENSE-2.0
     10 
     11   Unless required by applicable law or agreed to in writing, software
     12   distributed under the License is distributed on an "AS IS" BASIS,
     13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   See the License for the specific language governing permissions and
     15   limitations under the License.
     16 -->
     17 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="fill_parent"
     19     android:layout_height="fill_parent"
     20     android:orientation="vertical" >
     21 
     22     <TextView
     23         android:id="@+id/text_title"
     24         android:layout_width="wrap_content"
     25         android:layout_height="wrap_content"
     26         android:layout_alignParentTop="true"
     27         android:textSize="18sp"
     28         android:text="@string/choose_pm_activity" />
     29 
     30     <RadioGroup
     31         android:id="@+id/rb_dataselect"
     32         android:layout_below="@+id/text_title"
     33         android:layout_width="wrap_content"
     34         android:layout_height="wrap_content" >
     35 
     36         <RadioButton
     37             android:id="@+id/rb_connscan"
     38             android:layout_width="wrap_content"
     39             android:layout_height="wrap_content"
     40             android:text="@string/conn_scan"
     41             android:checked="true" />
     42 
     43         <RadioButton
     44             android:id="@+id/rb_kb"
     45             android:layout_width="wrap_content"
     46             android:layout_height="wrap_content"
     47             android:text="@string/kbfile"/>
     48 
     49         <RadioButton
     50             android:id="@+id/rb_tenkb"
     51             android:layout_width="wrap_content"
     52             android:layout_height="wrap_content"
     53             android:text="@string/tenkbfile" />
     54 
     55         <RadioButton
     56             android:id="@+id/rb_hundredkb"
     57             android:layout_width="wrap_content"
     58             android:layout_height="wrap_content"
     59             android:text="@string/hundredkbfile" />
     60 
     61         <RadioButton
     62             android:id="@+id/rb_mb"
     63             android:layout_width="wrap_content"
     64             android:layout_height="wrap_content"
     65             android:text="@string/mbfile" />
     66 
     67         <RadioButton
     68             android:id="@+id/rb_gscan2g"
     69             android:layout_width="wrap_content"
     70             android:layout_height="wrap_content"
     71             android:text="@string/gscan_2g" />
     72 
     73         <RadioButton
     74             android:id="@+id/rb_gscan_without_dfs"
     75             android:layout_width="wrap_content"
     76             android:layout_height="wrap_content"
     77             android:text="@string/gscan_without_dfs" />
     78 
     79         <RadioButton
     80             android:id="@+id/rb_iperf_client"
     81             android:layout_width="wrap_content"
     82             android:layout_height="wrap_content"
     83             android:text="@string/iperf_client" />
     84 
     85         <RadioButton
     86             android:id="@+id/rb_usb_tethering"
     87             android:layout_width="wrap_content"
     88             android:layout_height="wrap_content"
     89             android:text="@string/usb_tethering" />
     90     </RadioGroup>
     91 
     92     <Button
     93         android:id="@+id/btnstart"
     94         android:layout_width="wrap_content"
     95         android:layout_height="wrap_content"
     96         android:layout_alignBaseline="@+id/btnstop"
     97         android:layout_alignBottom="@+id/btnstop"
     98         android:layout_alignStart="@+id/rb_dataselect"
     99         android:text="@string/btn_start" />
    100 
    101     <Button
    102         android:id="@+id/btnstop"
    103         android:layout_width="wrap_content"
    104         android:layout_height="wrap_content"
    105         android:layout_below="@+id/rb_dataselect"
    106         android:layout_toEndOf="@+id/text_content"
    107         android:text="@string/btn_stop" />
    108 
    109     <TextView
    110         android:id="@+id/text_content"
    111         android:layout_width="wrap_content"
    112         android:layout_height="wrap_content"
    113         android:layout_alignEnd="@+id/text_title"
    114         android:layout_alignParentStart="true"
    115         android:layout_below="@+id/btnstart" />
    116 
    117 </RelativeLayout>
    118