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 / device_profiles_settings.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2015 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
18     xmlns:android="http://schemas.android.com/apk/res/android"
19     android:layout_width="match_parent"
20     android:layout_height="wrap_content"
21     android:paddingStart="25dp"
22     android:paddingEnd="25dp">
23
24     <LinearLayout
25         android:layout_width="match_parent"
26         android:layout_height="wrap_content"
27         android:orientation="vertical">
28
29         <TextView
30             android:layout_width="match_parent"
31             android:layout_height="wrap_content"
32             android:text="@string/bluetooth_preference_paired_dialog_name_label"
33             android:textAppearance="@android:style/TextAppearance.Material.Body1"
34             android:textColor="?android:attr/textColorSecondary"
35             android:textDirection="locale"
36             android:paddingTop="16dp"
37             style="@style/bt_item_label"/>
38
39         <EditText
40             android:id="@+id/name"
41             android:layout_width="match_parent"
42             android:layout_height="wrap_content"
43             android:inputType="textNoSuggestions"
44             android:maxLength="@integer/bluetooth_name_length"
45             android:singleLine="true"
46             android:paddingBottom="@dimen/bluetooth_dialog_padding"
47             android:textDirection="locale"
48             style="@style/bt_item_edit_content"/>
49
50         <TextView
51             android:id="@+id/profiles_label"
52             android:layout_width="match_parent"
53             android:layout_height="wrap_content"
54             android:paddingTop="16dp"
55             android:paddingBottom="4dp"
56             android:text="@string/bluetooth_device_advanced_profile_header_title"
57             android:textAppearance="@android:style/TextAppearance.Material.Body1"
58             android:textColor="?android:attr/textColorSecondary"/>
59
60
61         <LinearLayout
62             android:id="@+id/profiles_section"
63             android:orientation="vertical"
64             android:layout_width="match_parent"
65             android:layout_height="wrap_content"/>
66
67     </LinearLayout>
68
69 </ScrollView>