Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2011 The Android Open Source Project
      2 
      3      Licensed under the Apache License, Version 2.0 (the "License");
      4      you may not use this file except in compliance with the License.
      5      You may obtain a copy of the License at
      6   
      7           http://www.apache.org/licenses/LICENSE-2.0
      8   
      9      Unless required by applicable law or agreed to in writing, software
     10      distributed under the License is distributed on an "AS IS" BASIS,
     11      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12      See the License for the specific language governing permissions and
     13      limitations under the License.
     14 -->
     15 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     16     style="@style/RootLayoutPadding"
     17     android:layout_width="match_parent"
     18     android:layout_height="match_parent"
     19     android:orientation="vertical">
     20 
     21     <ProgressBar
     22         android:id="@+id/bt_progress_bar"
     23         style="@android:style/Widget.DeviceDefault.ProgressBar.Horizontal"
     24         android:layout_width="match_parent"
     25         android:layout_height="4dp"
     26         android:indeterminate="true" />
     27 
     28     <ScrollView
     29         android:layout_width="match_parent"
     30         android:layout_height="match_parent">
     31         <LinearLayout
     32             android:layout_width="match_parent"
     33             android:layout_height="match_parent"
     34             android:orientation="vertical">
     35 
     36             <TextView
     37                 style="?android:attr/listSeparatorTextViewStyle"
     38                 android:layout_width="match_parent"
     39                 android:layout_height="wrap_content"
     40                 android:text="@string/bt_sent_messages" />
     41             <FrameLayout
     42                 android:layout_width="match_parent"
     43                 android:layout_height="match_parent"
     44                 android:layout_weight="1"
     45                 android:orientation="vertical">
     46                 <ListView
     47                     android:id="@+id/bt_sent_messages"
     48                     android:layout_width="match_parent"
     49                     android:layout_height="match_parent" />
     50                 <TextView
     51                     android:id="@+id/bt_empty_sent_messages"
     52                     android:layout_width="match_parent"
     53                     android:layout_height="match_parent"
     54                     android:gravity="center"
     55                     android:visibility="gone" />
     56             </FrameLayout>
     57 
     58             <TextView
     59                 style="?android:attr/listSeparatorTextViewStyle"
     60                 android:layout_width="match_parent"
     61                 android:layout_height="wrap_content"
     62                 android:text="@string/bt_received_messages" />
     63             <FrameLayout
     64                 android:layout_width="match_parent"
     65                 android:layout_height="match_parent"
     66                 android:layout_weight="1"
     67                 android:orientation="vertical">
     68                 <ListView
     69                     android:id="@+id/bt_received_messages"
     70                     android:layout_width="match_parent"
     71                     android:layout_height="match_parent" />
     72                 <TextView
     73                     android:id="@+id/bt_empty_received_messages"
     74                     android:layout_width="match_parent"
     75                     android:layout_height="match_parent"
     76                     android:gravity="center"
     77                     android:visibility="gone" />
     78             </FrameLayout>
     79 
     80             <Button
     81                 android:id="@+id/bt_make_discoverable_button"
     82                 android:layout_width="match_parent"
     83                 android:layout_height="wrap_content"
     84                 android:drawableTop="@android:drawable/ic_menu_mylocation"
     85                 android:text="@string/bt_make_discoverable" />
     86 
     87             <include layout="@layout/pass_fail_buttons" />
     88         </LinearLayout>
     89     </ScrollView>
     90 </LinearLayout>
     91