OSDN Git Service

Merge changes from topic "am-b95e3cad-9610-4d9b-96a8-a82f585400e6" into oc-dev am...
[android-x86/packages-apps-Settings.git] / res / layout / bluetooth_pin_confirm.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:paddingStart="16dip"
28         android:layout_height="match_parent"
29         android:layout_width="match_parent"
30         android:layout_marginTop="@dimen/bluetooth_dialog_padding_top"
31         android:orientation="vertical">
32
33         <TextView
34             android:id="@+id/pairing_caption"
35             android:layout_width="wrap_content"
36             android:layout_height="wrap_content"
37             android:layout_marginTop="@dimen/bluetooth_dialog_padding"
38             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
39             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
40             android:gravity="center_vertical"
41             android:text="@string/bluetooth_pairing_key_msg"
42             android:visibility="gone"
43             android:textAppearance="@android:style/TextAppearance.Material.Body1"
44             android:textColor="@color/bluetooth_dialog_text_color"  />
45
46         <TextView
47             android:id="@+id/pairing_subhead"
48             android:layout_width="wrap_content"
49             android:layout_height="wrap_content"
50             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
51             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
52             android:layout_marginBottom="@dimen/bluetooth_dialog_padding"
53             android:gravity="center_vertical"
54             android:visibility="gone"
55             android:textAppearance="@android:style/TextAppearance.Material.Headline" />
56
57         <TextView
58             android:id="@+id/pairing_code_message"
59             android:layout_width="wrap_content"
60             android:layout_height="wrap_content"
61             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
62             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
63             android:layout_marginBottom="@dimen/bluetooth_dialog_padding"
64             android:gravity="center_vertical"
65             android:text="@string/bluetooth_enter_passkey_msg"
66             android:textAppearance="@android:style/TextAppearance.Material.Subhead"
67             android:textColor="@color/bluetooth_dialog_text_color"
68             android:visibility="gone" />
69
70         <CheckBox
71             android:id="@+id/phonebook_sharing_message_confirm_pin"
72             android:layout_width="wrap_content"
73             android:layout_height="wrap_content"
74             android:layout_marginStart="@dimen/bluetooth_dialog_padding"
75             android:layout_marginEnd="@dimen/bluetooth_dialog_padding"
76             android:textAppearance="@android:style/TextAppearance.Material.Body1"
77             android:textColor="@color/bluetooth_dialog_text_color"  />
78
79     </LinearLayout>
80
81 </ScrollView>