1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2014 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 17<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="wrap_content" 19 android:layout_height="wrap_content"> 20 21 <LinearLayout 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:orientation="vertical"> 25 26 <LinearLayout android:id="@+id/type" 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:orientation="vertical"> 30 31 <TextView 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content" 34 android:layout_marginTop="@dimen/sim_dialog_margin_top" 35 android:paddingStart="@dimen/sim_content_padding" 36 android:text="@string/sim_editor_name" /> 37 38 <EditText android:id="@+id/sim_name" 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:singleLine="true" 42 android:paddingStart="@dimen/sim_content_padding" 43 android:paddingBottom="@dimen/sim_dialog_margin_bottom" 44 android:hint="@string/sim_name_hint" 45 android:inputType="textNoSuggestions" 46 android:maxLength="@integer/sim_name_length" 47 android:textColor="@android:color/black" 48 style="?android:attr/textAppearanceMedium" /> 49 50 </LinearLayout> 51 52 <LinearLayout 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" 55 android:orientation="vertical"> 56 57 <TextView 58 android:layout_width="match_parent" 59 android:layout_height="wrap_content" 60 android:layout_marginTop="@dimen/sim_dialog_margin_top" 61 android:paddingStart="@dimen/sim_content_padding" 62 android:text="@string/color_title" /> 63 64 <Spinner 65 android:id="@+id/spinner" 66 android:layout_width="wrap_content" 67 android:layout_height="wrap_content" 68 android:paddingStart="@dimen/sim_content_padding" /> 69 70 </LinearLayout> 71 72 <LinearLayout 73 android:layout_width="match_parent" 74 android:layout_height="wrap_content" 75 android:orientation="vertical"> 76 77 <TextView 78 android:layout_width="match_parent" 79 android:layout_height="wrap_content" 80 android:layout_marginTop="@dimen/sim_dialog_margin_top" 81 android:paddingStart="@dimen/sim_content_padding" 82 android:text="@string/sim_editor_carrier" /> 83 84 <TextView android:id="@+id/carrier" 85 android:textColor="@android:color/black" 86 android:layout_width="match_parent" 87 android:layout_height="wrap_content" 88 android:paddingStart="@dimen/sim_content_padding" 89 android:paddingBottom="@dimen/sim_dialog_margin_bottom" 90 android:singleLine="true" 91 style="?android:attr/textAppearanceMedium" /> 92 93 </LinearLayout> 94 95 <LinearLayout 96 android:layout_width="match_parent" 97 android:layout_height="wrap_content" 98 android:orientation="vertical"> 99 100 <TextView 101 android:layout_width="match_parent" 102 android:layout_height="wrap_content" 103 android:layout_marginTop="@dimen/sim_dialog_margin_top" 104 android:paddingStart="@dimen/sim_content_padding" 105 android:text="@string/sim_editor_number" /> 106 107 <TextView android:id="@+id/number" 108 android:layout_width="match_parent" 109 android:layout_height="wrap_content" 110 android:paddingBottom="@dimen/sim_dialog_margin_bottom" 111 android:paddingStart="@dimen/sim_content_padding" 112 android:singleLine="true" 113 android:textColor="@android:color/black" 114 style="?android:attr/textAppearanceMedium" /> 115 116 </LinearLayout> 117 118 </LinearLayout> 119 120</ScrollView> 121