1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2017 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17 18<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:orientation="vertical" 23 android:paddingLeft="4dp"> 24 25 <LinearLayout 26 android:layout_width="match_parent" 27 android:layout_height="wrap_content" 28 android:orientation="vertical" > 29 30 <TextView 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" android:layout_weight="0" 33 android:text="Outgoing SMS Phone Number"/> 34 35 <EditText 36 android:id="@+id/phone_number_text" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:layout_weight="1" 40 android:inputType="phone" android:text="5555551212"/> 41 42 <View 43 android:layout_width="match_parent" 44 android:layout_height= "1dp" 45 android:paddingRight="4dp" 46 android:background="?android:attr/listDivider" /> 47 48 <Button 49 android:id="@+id/send_text_button" 50 android:layout_width="match_parent" 51 android:layout_height="wrap_content" 52 android:paddingRight="4dp" 53 android:text="@string/send_text_button"/> 54 <Button 55 android:id="@+id/send_text_button_service" 56 android:layout_width="match_parent" 57 android:layout_height="wrap_content" 58 android:paddingRight="4dp" 59 android:text="@string/send_text_service_button"/> 60 <Button 61 android:id="@+id/get_sub_for_result_button" 62 android:layout_width="match_parent" 63 android:layout_height="wrap_content" 64 android:paddingRight="4dp" 65 android:text="@string/get_sub_for_result_button"/> 66 <Button 67 android:id="@+id/enable_persistent_service" 68 android:layout_width="match_parent" 69 android:layout_height="wrap_content" 70 android:paddingRight="4dp" 71 android:text="@string/enable_persistent_service"/> 72 <Button 73 android:id="@+id/disable_persistent_service" 74 android:layout_width="match_parent" 75 android:layout_height="wrap_content" 76 android:paddingRight="4dp" 77 android:text="@string/disable_persistent_service"/> 78 <Button 79 android:id="@+id/check_single_reg_permission" 80 android:layout_width="match_parent" 81 android:layout_height="wrap_content" 82 android:paddingRight="4dp" 83 android:text="@string/check_single_reg_permission"/> 84 </LinearLayout> 85</LinearLayout>