• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:padding="@dimen/sim_dialog_padding"
25            android:orientation="vertical">
26
27        <LinearLayout android:id="@+id/type"
28                android:layout_width="match_parent"
29                android:layout_height="wrap_content"
30                android:orientation="vertical">
31
32            <TextView
33                    android:layout_width="match_parent"
34                    android:layout_height="wrap_content"
35                    android:layout_marginTop="@dimen/sim_dialog_margin_top"
36                    android:text="@string/sim_editor_name"
37                    style="?android:attr/textAppearanceMedium" />
38
39            <EditText android:id="@+id/sim_name"
40                    android:layout_width="match_parent"
41                    android:layout_height="wrap_content"
42                    android:singleLine="true"
43                    android:paddingBottom="@dimen/sim_dialog_margin_bottom"
44                    android:hint="@string/wifi_ssid_hint"
45                    android:inputType="textNoSuggestions"
46                    android:maxLength="@integer/sim_name_length" />
47
48        </LinearLayout>
49
50        <LinearLayout
51                android:layout_width="match_parent"
52                android:layout_height="wrap_content"
53                android:orientation="vertical">
54
55            <TextView
56                    android:layout_width="match_parent"
57                    android:layout_height="wrap_content"
58                    android:layout_marginTop="@dimen/sim_dialog_margin_top"
59                    android:text="@string/sim_editor_carrier" />
60
61            <TextView android:id="@+id/carrier"
62                    android:textColor="@android:color/black"
63                    android:layout_width="match_parent"
64                    android:layout_height="wrap_content"
65                    android:paddingBottom="@dimen/sim_dialog_margin_bottom"
66                    android:singleLine="true"
67                    style="?android:attr/textAppearanceMedium" />
68
69        </LinearLayout>
70
71        <LinearLayout
72                android:layout_width="match_parent"
73                android:layout_height="wrap_content"
74                android:orientation="vertical">
75
76            <TextView
77                    android:layout_width="match_parent"
78                    android:layout_height="wrap_content"
79                    android:layout_marginTop="@dimen/sim_dialog_margin_top"
80                    android:text="@string/sim_editor_number" />
81
82            <TextView android:id="@+id/number"
83                    android:layout_width="match_parent"
84                    android:layout_height="wrap_content"
85                    android:paddingBottom="@dimen/sim_dialog_margin_bottom"
86                    android:singleLine="true"
87                    android:textColor="@android:color/black"
88                    style="?android:attr/textAppearanceMedium" />
89
90        </LinearLayout>
91
92        <LinearLayout
93                android:layout_width="match_parent"
94                android:layout_height="wrap_content"
95                android:orientation="vertical">
96
97            <TextView
98                    android:layout_width="match_parent"
99                    android:layout_height="wrap_content"
100                    android:layout_marginTop="@dimen/sim_dialog_margin_top"
101                    android:text="@string/sim_editor_num_format" />
102
103            <Spinner android:id="@+id/display_numbers"
104                    android:layout_width="match_parent"
105                    android:layout_height="wrap_content"
106                    android:entries="@array/sim_card_data_range"
107                    android:paddingBottom="@dimen/sim_dialog_margin_bottom"
108                    android:prompt="@string/sim_editor_num_format" />
109
110        </LinearLayout>
111
112    </LinearLayout>
113
114</ScrollView>
115