OSDN Git Service

aa9f187743779dd75ddc6df1c4c8d67d1f0ff699
[android-x86/packages-apps-Settings.git] / res / layout / bluetooth_pin_entry.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /* 
4 ** Copyright 2011, The Android Open Source Project
5 **
6 ** Licensed under the Apache License, Version 2.0 (the "License");
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
9 **
10 **     http://www.apache.org/licenses/LICENSE-2.0
11 **
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
17 */
18 -->
19
20 <ScrollView
21     xmlns:android="http://schemas.android.com/apk/res/android"
22     android:layout_height="match_parent"
23     android:layout_width="match_parent">
24
25     <LinearLayout
26         xmlns:android="http://schemas.android.com/apk/res/android"
27         android:layout_height="match_parent"
28         android:layout_width="match_parent"
29         android:orientation="vertical">
30
31         <TextView
32             android:id="@+id/message_caption"
33             android:layout_width="wrap_content"
34             android:layout_height="wrap_content"
35             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
36             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
37             android:layout_marginTop="@dimen/bluetooth_dialog_padding"
38             android:gravity="center_vertical"
39             android:textAppearance="@android:style/TextAppearance.Material.Caption" />
40
41         <TextView
42             android:id="@+id/message_subhead"
43             android:layout_width="wrap_content"
44             android:layout_height="wrap_content"
45             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
46             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
47             android:layout_marginBottom="@dimen/bluetooth_dialog_padding"
48             android:gravity="center_vertical"
49             android:textAppearance="@android:style/TextAppearance.Material.Subhead" />
50
51         <EditText
52             android:id="@+id/text"
53             android:layout_height="wrap_content"
54             android:layout_width="match_parent"
55             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
56             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
57             android:inputType="textPassword"
58             android:singleLine="true" />
59
60         <TextView
61             android:id="@+id/pin_values_hint"
62             android:text="@string/bluetooth_pin_values_hint"
63             android:layout_width="wrap_content"
64             android:layout_height="wrap_content"
65             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
66             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
67             android:gravity="center_vertical"
68             android:textAppearance="?android:attr/textAppearanceSmall" />
69
70         <CheckBox
71             android:id="@+id/alphanumeric_pin"
72             android:text="@string/bluetooth_enable_alphanumeric_pin"
73             android:layout_width="wrap_content"
74             android:layout_height="wrap_content"
75             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
76             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
77             android:gravity="center"
78             android:textAppearance="?android:attr/textAppearanceSmall" />
79
80         <TextView
81             android:id="@+id/message_below_pin"
82             android:layout_width="wrap_content"
83             android:layout_height="wrap_content"
84             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
85             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
86             android:gravity="center_vertical"
87             android:textAppearance="@android:style/TextAppearance.Material.Subhead"
88             android:textColor="@*android:color/secondary_text_material_light"/>
89
90         <CheckBox
91             android:id="@+id/phonebook_sharing_message_entry_pin"
92             android:layout_width="wrap_content"
93             android:layout_height="wrap_content"
94             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
95             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
96             android:gravity="center_vertical"
97             android:text="@string/bluetooth_pairing_shares_phonebook"
98             android:textAppearance="?android:attr/textAppearanceSmall" />
99
100     </LinearLayout>
101
102 </ScrollView>