1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2014 The Android Open Source Project
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
17 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content">
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:orientation="vertical">
26 <LinearLayout android:id="@+id/type"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 android:orientation="vertical">
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" />
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" />
53 android:layout_width="match_parent"
54 android:layout_height="wrap_content"
55 android:orientation="vertical">
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" />
65 android:id="@+id/spinner"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:paddingStart="@dimen/sim_content_padding" />
73 android:layout_width="match_parent"
74 android:layout_height="wrap_content"
75 android:orientation="vertical">
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" />
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" />
96 android:layout_width="match_parent"
97 android:layout_height="wrap_content"
98 android:orientation="vertical">
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" />
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" />