1<?xml version="1.0" encoding="utf-8"?> 2<FrameLayout 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 android:orientation="horizontal" 5 android:layout_width="match_parent" 6 android:layout_height="fill_parent" 7 android:background="@drawable/details_view" 8 android:visibility="gone"> 9 <LinearLayout 10 xmlns:android="http://schemas.android.com/apk/res/android" 11 android:orientation="vertical" 12 android:layout_width="match_parent" 13 android:layout_height="match_parent"> 14 <LinearLayout 15 xmlns:android="http://schemas.android.com/apk/res/android" 16 android:orientation="horizontal" 17 android:layout_width="match_parent" 18 android:layout_height="wrap_content"> 19 <Button 20 android:id="@+id/btn_connect" 21 android:layout_width="wrap_content" 22 android:layout_height="wrap_content" 23 android:text="@string/connect_peer_button" /> 24 <Button 25 android:id="@+id/btn_disconnect" 26 android:layout_width="wrap_content" 27 android:layout_height="wrap_content" 28 android:text="@string/disconnect_peer_button" /> 29 <Button 30 android:id="@+id/btn_start_client" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:text="@string/get_file_button" 34 android:visibility="gone" /> 35 </LinearLayout> 36 <TextView 37 android:id="@+id/device_address" 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" /> 40 <TextView 41 android:id="@+id/device_info" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" /> 44 <TextView 45 android:id="@+id/group_owner" 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" /> 48 <TextView 49 android:id="@+id/group_ip" 50 android:layout_width="match_parent" 51 android:layout_height="wrap_content" /> 52 </LinearLayout> 53 <LinearLayout 54 android:layout_width="match_parent" 55 android:id="@+id/status_bar" 56 android:orientation="vertical" 57 android:layout_gravity="bottom" 58 android:layout_height="37dp" 59 android:layout_marginBottom="3dp" 60 android:background="@android:color/background_dark"> 61 <TextView 62 android:layout_width="wrap_content" 63 android:layout_height="match_parent" 64 android:layout_gravity="center" 65 android:layout_margin="5dp" 66 android:textColor="@android:color/white" 67 android:id="@+id/status_text"> 68 </TextView> 69 </LinearLayout> 70</FrameLayout> 71