1<?xml version="1.0" encoding="utf-8"?> 2<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:tools="http://schemas.android.com/tools" 4 android:layout_width="match_parent" 5 android:layout_height="match_parent" 6 android:background="@color/black" 7 tools:context=".ui.main.ServiceConfigFragment"> 8 9 <LinearLayout 10 android:layout_width="match_parent" 11 android:layout_height="match_parent" 12 android:layout_above="@id/layout_buttons" 13 android:orientation="vertical"> 14 15 <CheckBox 16 android:id="@+id/checkBoxResult" 17 android:layout_width="match_parent" 18 android:layout_height="wrap_content" 19 android:text="@string/response_success" /> 20 21 <TextView 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:text="@string/response_key" /> 25 26 <EditText 27 android:id="@+id/editKey" 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:ems="10" 31 android:inputType="textPersonName" /> 32 33 <TextView 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:editable="false" 37 android:text="@string/response_btid" /> 38 39 <EditText 40 android:id="@+id/editBTid" 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:ems="10" 44 android:inputType="textPersonName" /> 45 46 <TextView 47 android:layout_width="match_parent" 48 android:layout_height="wrap_content" 49 android:text="@string/response_fail_reason" /> 50 51 <EditText 52 android:id="@+id/editFailReason" 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" 55 android:ems="10" 56 android:inputType="numberSigned" /> 57 58 </LinearLayout> 59 60 <LinearLayout 61 android:id="@+id/layout_buttons" 62 android:layout_width="match_parent" 63 android:layout_height="wrap_content" 64 android:layout_alignParentBottom="true" 65 android:layout_gravity="bottom" 66 android:orientation="vertical"> 67 68 <Button 69 android:id="@+id/service_config_clear" 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 android:text="@string/button_name_clear" /> 73 74 <Button 75 android:id="@+id/service_config_done" 76 android:layout_width="match_parent" 77 android:layout_height="wrap_content" 78 android:text="@string/button_name_done" /> 79 </LinearLayout> 80 81</FrameLayout> 82