OSDN Git Service

am 0d5ad3b7: am 57641a8b: am d7e93570: am f11f9f47: Added a check if a custom activit...
[android-x86/packages-apps-Settings.git] / res / layout / multi_sim_dialog.xml
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:paddingStart="@dimen/sim_label_padding"
37                     android:text="@string/sim_editor_name"
38                     style="?android:attr/textAppearanceMedium" />
39
40             <EditText android:id="@+id/sim_name"
41                     android:layout_width="match_parent"
42                     android:layout_height="wrap_content"
43                     android:singleLine="true"
44                     android:layout_marginStart="@dimen/sim_content_padding"
45                     android:paddingBottom="@dimen/sim_dialog_margin_bottom"
46                     android:hint="@string/wifi_ssid_hint"
47                     android:inputType="textNoSuggestions"
48                     android:maxLength="@integer/sim_name_length" />
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_label_padding"
62                     android:text="@string/sim_editor_carrier" />
63
64             <TextView android:id="@+id/carrier"
65                     android:textColor="@android:color/black"
66                     android:layout_width="match_parent"
67                     android:layout_height="wrap_content"
68                     android:paddingStart="@dimen/sim_label_padding"
69                     android:paddingBottom="@dimen/sim_dialog_margin_bottom"
70                     android:singleLine="true"
71                     style="?android:attr/textAppearanceMedium" />
72
73         </LinearLayout>
74
75         <LinearLayout
76                 android:layout_width="match_parent"
77                 android:layout_height="wrap_content"
78                 android:orientation="vertical">
79
80             <TextView
81                     android:layout_width="match_parent"
82                     android:layout_height="wrap_content"
83                     android:layout_marginTop="@dimen/sim_dialog_margin_top"
84                     android:paddingStart="@dimen/sim_label_padding"
85                     android:text="@string/sim_editor_number" />
86
87             <TextView android:id="@+id/number"
88                     android:layout_width="match_parent"
89                     android:layout_height="wrap_content"
90                     android:paddingBottom="@dimen/sim_dialog_margin_bottom"
91                     android:paddingStart="@dimen/sim_label_padding"
92                     android:singleLine="true"
93                     android:textColor="@android:color/black"
94                     style="?android:attr/textAppearanceMedium" />
95
96         </LinearLayout>
97
98     </LinearLayout>
99
100 </ScrollView>