• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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<ScrollView
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="wrap_content">
20
21    <LinearLayout
22        android:orientation="vertical"
23        android:layout_width="match_parent"
24        android:layout_height="wrap_content">
25
26        <LinearLayout
27            android:orientation="vertical"
28            android:layout_width="match_parent"
29            android:layout_height="wrap_content"
30            android:paddingEnd="@dimen/sim_content_padding"
31            android:paddingStart="@dimen/sim_content_padding">
32
33            <TextView
34                android:id="@+id/name_label"
35                android:layout_width="match_parent"
36                android:layout_height="wrap_content"
37                android:paddingTop="@dimen/sim_label_padding"
38                android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
39                android:textColor="?android:attr/textColorPrimary"
40                android:text="@string/mobile_network_sim_name_label"/>
41
42            <EditText
43                android:id="@+id/name_edittext"
44                android:hint="@string/mobile_network_sim_name_label"
45                android:layout_width="match_parent"
46                android:layout_height="wrap_content"
47                android:inputType="text"
48                android:paddingTop="@dimen/sim_label_padding"
49                android:maxLength="@integer/sim_label_max_length"
50                android:singleLine="true"/>
51
52            <TextView
53                android:id="@+id/color_label"
54                android:layout_width="match_parent"
55                android:layout_height="wrap_content"
56                android:paddingTop="@dimen/sim_label_padding"
57                android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
58                android:textColor="?android:attr/textColorPrimary"
59                android:text="@string/mobile_network_sim_color_label"/>
60
61        </LinearLayout>
62
63        <Spinner
64            android:id="@+id/color_spinner"
65            android:layout_width="match_parent"
66            android:layout_height="wrap_content"
67            android:layout_marginStart="@dimen/sim_color_spinner_padding"
68            android:layout_marginEnd="@dimen/sim_color_spinner_padding"/>
69
70        <LinearLayout
71            android:orientation="vertical"
72            android:layout_width="match_parent"
73            android:layout_height="wrap_content"
74            android:paddingEnd="@dimen/sim_content_padding"
75            android:paddingStart="@dimen/sim_content_padding">
76
77            <TextView
78                android:id="@+id/operator_name_label"
79                android:layout_width="match_parent"
80                android:layout_height="wrap_content"
81                android:paddingTop="@dimen/sim_label_padding"
82                android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
83                android:textColor="?android:attr/textColorPrimary"
84                android:text="@string/status_operator"
85                android:visibility="gone"/>
86
87            <TextView
88                android:id="@+id/operator_name_value"
89                android:layout_width="match_parent"
90                android:layout_height="wrap_content"
91                android:text="@string/device_info_not_available"
92                android:visibility="gone"/>
93
94            <TextView
95                android:id="@+id/number_label"
96                android:layout_width="match_parent"
97                android:layout_height="wrap_content"
98                android:paddingTop="@dimen/sim_label_padding"
99                android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
100                android:textColor="?android:attr/textColorPrimary"
101                android:text="@string/status_number_sim_status"
102                android:visibility="gone"/>
103
104            <TextView
105                android:id="@+id/number_value"
106                android:layout_width="match_parent"
107                android:layout_height="wrap_content"
108                android:text="@string/device_info_not_available"
109                android:visibility="gone"/>
110
111        </LinearLayout>
112
113    </LinearLayout>
114</ScrollView>
115