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     <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     23             android:layout_width="wrap_content"
     24             android:layout_height="wrap_content">
     25         <LinearLayout android:orientation="vertical"
     26                 android:layout_width="match_parent"
     27                 android:layout_height="wrap_content">
     28             <TextView android:text="@string/ble_scanner_power_level_instruction"
     29                     android:layout_width="wrap_content"
     30                     android:layout_height="wrap_content"
     31                     android:id="@+id/ble_scanner_power_level_instruction"
     32             />
     33             <HorizontalScrollView
     34                     android:layout_width="wrap_content"
     35                     android:layout_height="wrap_content">
     36                 <LinearLayout android:orientation="vertical"
     37                         android:layout_width="match_parent"
     38                         android:layout_height="wrap_content"
     39                         android:layout_below="@+id/ble_scanner_power_level_instruction"
     40                         android:layout_centerInParent="true"
     41                         android:padding="10dp">
     42                     <LinearLayout android:orientation="horizontal"
     43                             android:layout_width="match_parent"
     44                             android:layout_height="wrap_content"
     45                             android:layout_centerInParent="true">
     46                         <TextView android:text="@string/ble_ultra_low"
     47                                 android:layout_width="100dp"
     48                                 android:layout_height="wrap_content"/>
     49                         <TextView android:id="@+id/ble_ultra_low_mac"
     50                                 android:layout_width="200dp"
     51                                 android:layout_height="wrap_content"/>
     52                         <TextView android:id="@+id/ble_ultra_low_rssi"
     53                                 android:layout_width="100dp"
     54                                 android:layout_height="wrap_content"/>
     55                     </LinearLayout>
     56                     <LinearLayout android:orientation="horizontal"
     57                             android:layout_width="match_parent"
     58                             android:layout_height="wrap_content">
     59                         <TextView android:layout_width="100dp"
     60                                 android:layout_height="wrap_content"/>
     61                         <TextView android:id="@+id/ble_ultra_low_count"
     62                                 android:layout_width="100dp"
     63                                 android:layout_height="wrap_content"/>
     64                         <TextView android:id="@+id/ble_ultra_low_set_power"
     65                                 android:layout_width="100dp"
     66                                 android:layout_height="wrap_content"/>
     67                     </LinearLayout>
     68                     <LinearLayout android:orientation="horizontal"
     69                             android:layout_width="match_parent"
     70                             android:layout_height="wrap_content"
     71                             android:layout_centerInParent="true">
     72                         <TextView android:text="@string/ble_low"
     73                                 android:layout_width="100dp"
     74                                 android:layout_height="wrap_content"/>
     75                         <TextView android:id="@+id/ble_low_mac"
     76                                 android:layout_width="200dp"
     77                                 android:layout_height="wrap_content"/>
     78                         <TextView android:id="@+id/ble_low_rssi"
     79                                 android:layout_width="100dp"
     80                                 android:layout_height="wrap_content"/>
     81                     </LinearLayout>
     82                     <LinearLayout android:orientation="horizontal"
     83                             android:layout_width="match_parent"
     84                             android:layout_height="wrap_content">
     85                         <TextView android:layout_width="100dp"
     86                                 android:layout_height="wrap_content"/>
     87                         <TextView android:id="@+id/ble_low_count"
     88                                 android:layout_width="100dp"
     89                                 android:layout_height="wrap_content"/>
     90                         <TextView android:id="@+id/ble_low_set_power"
     91                                 android:layout_width="100dp"
     92                                 android:layout_height="wrap_content"/>
     93                     </LinearLayout>
     94                     <LinearLayout android:orientation="horizontal"
     95                             android:layout_width="match_parent"
     96                             android:layout_height="wrap_content"
     97                             android:layout_centerInParent="true">
     98                         <TextView android:text="@string/ble_medium"
     99                                 android:layout_width="100dp"
    100                                 android:layout_height="wrap_content"/>
    101                         <TextView android:id="@+id/ble_medium_mac"
    102                                 android:layout_width="200dp"
    103                                 android:layout_height="wrap_content"/>
    104                         <TextView android:id="@+id/ble_medium_rssi"
    105                                 android:layout_width="100dp"
    106                                 android:layout_height="wrap_content"/>
    107                     </LinearLayout>
    108                     <LinearLayout android:orientation="horizontal"
    109                             android:layout_width="match_parent"
    110                             android:layout_height="wrap_content">
    111                         <TextView android:layout_width="100dp"
    112                                 android:layout_height="wrap_content"/>
    113                         <TextView android:id="@+id/ble_medium_count"
    114                                 android:layout_width="100dp"
    115                                 android:layout_height="wrap_content"/>
    116                         <TextView android:id="@+id/ble_medium_set_power"
    117                                 android:layout_width="100dp"
    118                                 android:layout_height="wrap_content"/>
    119                     </LinearLayout>
    120                     <LinearLayout android:orientation="horizontal"
    121                             android:layout_width="match_parent"
    122                             android:layout_height="wrap_content"
    123                             android:layout_centerInParent="true">
    124                         <TextView android:text="@string/ble_high"
    125                                 android:layout_width="100dp"
    126                                 android:layout_height="wrap_content"/>
    127                         <TextView android:id="@+id/ble_high_mac"
    128                                 android:layout_width="200dp"
    129                                 android:layout_height="wrap_content"/>
    130                         <TextView android:id="@+id/ble_high_rssi"
    131                                 android:layout_width="100dp"
    132                                 android:layout_height="wrap_content"/>
    133                     </LinearLayout>
    134                     <LinearLayout android:orientation="horizontal"
    135                             android:layout_width="match_parent"
    136                             android:layout_height="wrap_content">
    137                         <TextView android:layout_width="100dp"
    138                                 android:layout_height="wrap_content"/>
    139                         <TextView android:id="@+id/ble_high_count"
    140                                 android:layout_width="100dp"
    141                                 android:layout_height="wrap_content"/>
    142                         <TextView android:id="@+id/ble_high_set_power"
    143                                 android:layout_width="100dp"
    144                                 android:layout_height="wrap_content"/>
    145                     </LinearLayout>
    146                 </LinearLayout>
    147             </HorizontalScrollView>
    148             <TextView android:id="@+id/ble_timer"
    149                     android:layout_width="fill_parent"
    150                     android:layout_height="wrap_content" />
    151             <include android:layout_width="match_parent"
    152                     android:layout_height="wrap_content"
    153                     android:layout_alignParentBottom="true"
    154                     layout="@layout/pass_fail_buttons"/>
    155         </LinearLayout>
    156     </ScrollView>
    157 </RelativeLayout>
    158