Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2013 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     17         android:layout_width="match_parent"
     18         android:layout_height="match_parent"
     19         android:orientation="vertical"
     20         android:padding="10dip"
     21         >
     22     <TextView android:text="@string/ble_scanner_power_level_instruction"
     23             android:layout_width="wrap_content"
     24             android:layout_height="wrap_content"
     25             android:id="@+id/ble_scanner_power_level_instruction"
     26     />
     27     <LinearLayout android:orientation="vertical"
     28             android:layout_width="match_parent"
     29             android:layout_height="wrap_content"
     30             android:layout_below="@+id/ble_scanner_power_level_instruction"
     31             android:layout_centerInParent="true"
     32             android:padding="10dp"
     33             >
     34         <LinearLayout android:orientation="horizontal"
     35                 android:layout_width="match_parent"
     36                 android:layout_height="wrap_content"
     37                 android:layout_centerInParent="true"
     38                 >
     39             <TextView android:text="@string/ble_ultra_low"
     40                   android:layout_width="100dp"
     41                   android:layout_height="wrap_content"
     42             />
     43             <TextView android:id="@+id/ble_ultra_low_mac"
     44                   android:layout_width="200dp"
     45                   android:layout_height="wrap_content"
     46             />
     47             <TextView android:id="@+id/ble_ultra_low_rssi"
     48                   android:layout_width="100dp"
     49                   android:layout_height="wrap_content"
     50             />
     51         </LinearLayout>
     52         <LinearLayout android:orientation="horizontal"
     53                 android:layout_width="match_parent"
     54                 android:layout_height="wrap_content">
     55             <TextView android:layout_width="100dp"
     56                   android:layout_height="wrap_content"/>
     57             <TextView android:id="@+id/ble_ultra_low_count"
     58                     android:layout_width="100dp"
     59                     android:layout_height="wrap_content"
     60             />
     61             <TextView android:id="@+id/ble_ultra_low_set_power"
     62                     android:layout_width="100dp"
     63                     android:layout_height="wrap_content"
     64             />
     65         </LinearLayout>
     66         <LinearLayout android:orientation="horizontal"
     67                 android:layout_width="match_parent"
     68                 android:layout_height="wrap_content"
     69                 android:layout_centerInParent="true"
     70                 >
     71             <TextView android:text="@string/ble_low"
     72                   android:layout_width="100dp"
     73                   android:layout_height="wrap_content"
     74             />
     75             <TextView android:id="@+id/ble_low_mac"
     76                   android:layout_width="200dp"
     77                   android:layout_height="wrap_content"
     78             />
     79             <TextView android:id="@+id/ble_low_rssi"
     80                   android:layout_width="100dp"
     81                   android:layout_height="wrap_content"
     82             />
     83         </LinearLayout>
     84         <LinearLayout android:orientation="horizontal"
     85                 android:layout_width="match_parent"
     86                 android:layout_height="wrap_content">
     87             <TextView android:layout_width="100dp"
     88                   android:layout_height="wrap_content"/>
     89             <TextView android:id="@+id/ble_low_count"
     90                     android:layout_width="100dp"
     91                     android:layout_height="wrap_content"
     92             />
     93             <TextView android:id="@+id/ble_low_set_power"
     94                     android:layout_width="100dp"
     95                     android:layout_height="wrap_content"
     96             />
     97         </LinearLayout>
     98         <LinearLayout android:orientation="horizontal"
     99                 android:layout_width="match_parent"
    100                 android:layout_height="wrap_content"
    101                 android:layout_centerInParent="true"
    102                 >
    103             <TextView android:text="@string/ble_medium"
    104                   android:layout_width="100dp"
    105                   android:layout_height="wrap_content"
    106             />
    107             <TextView android:id="@+id/ble_medium_mac"
    108                   android:layout_width="200dp"
    109                   android:layout_height="wrap_content"
    110             />
    111             <TextView android:id="@+id/ble_medium_rssi"
    112                   android:layout_width="100dp"
    113                   android:layout_height="wrap_content"
    114             />
    115         </LinearLayout>
    116         <LinearLayout android:orientation="horizontal"
    117                 android:layout_width="match_parent"
    118                 android:layout_height="wrap_content">
    119             <TextView android:layout_width="100dp"
    120                   android:layout_height="wrap_content"/>
    121             <TextView android:id="@+id/ble_medium_count"
    122                     android:layout_width="100dp"
    123                     android:layout_height="wrap_content"
    124             />
    125             <TextView android:id="@+id/ble_medium_set_power"
    126                     android:layout_width="100dp"
    127                     android:layout_height="wrap_content"
    128             />
    129         </LinearLayout>
    130         <LinearLayout android:orientation="horizontal"
    131                 android:layout_width="match_parent"
    132                 android:layout_height="wrap_content"
    133                 android:layout_centerInParent="true"
    134                 >
    135             <TextView android:text="@string/ble_high"
    136                   android:layout_width="100dp"
    137                   android:layout_height="wrap_content"
    138             />
    139             <TextView android:id="@+id/ble_high_mac"
    140                   android:layout_width="200dp"
    141                   android:layout_height="wrap_content"
    142             />
    143             <TextView android:id="@+id/ble_high_rssi"
    144                   android:layout_width="100dp"
    145                   android:layout_height="wrap_content"
    146             />
    147         </LinearLayout>
    148         <LinearLayout android:orientation="horizontal"
    149                 android:layout_width="match_parent"
    150                 android:layout_height="wrap_content">
    151             <TextView android:layout_width="100dp"
    152                   android:layout_height="wrap_content"/>
    153             <TextView android:id="@+id/ble_high_count"
    154                     android:layout_width="100dp"
    155                     android:layout_height="wrap_content"
    156             />
    157             <TextView android:id="@+id/ble_high_set_power"
    158                     android:layout_width="100dp"
    159                     android:layout_height="wrap_content"
    160             />
    161         </LinearLayout>
    162         <TextView android:id="@+id/ble_timer"
    163                 android:layout_width="fill_parent"
    164                 android:layout_height="wrap_content" />
    165     </LinearLayout>
    166 
    167     <include android:layout_width="match_parent"
    168             android:layout_height="wrap_content"
    169             android:layout_alignParentBottom="true"
    170             layout="@layout/pass_fail_buttons"
    171             />
    172 </RelativeLayout>
    173