summaryrefslogtreecommitdiffstats
path: root/res/xml/bluetooth_advanced_settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml/bluetooth_advanced_settings.xml')
-rw-r--r--res/xml/bluetooth_advanced_settings.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/res/xml/bluetooth_advanced_settings.xml b/res/xml/bluetooth_advanced_settings.xml
new file mode 100644
index 0000000..345b3bf
--- /dev/null
+++ b/res/xml/bluetooth_advanced_settings.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/bluetooth_advanced_titlebar">
+
+ <com.android.settings.bluetooth.BluetoothNamePreference
+ android:key="bt_name"
+ android:title="@string/bluetooth_device_name"
+ android:summary="@string/bluetooth_name_not_set"
+ android:dialogTitle="@string/bluetooth_device_name"
+ android:persistent="false"
+ android:singleLine="true" />
+
+ <CheckBoxPreference
+ android:key="bt_discoverable"
+ android:title="@string/bluetooth_visibility"
+ android:summaryOn="@string/bluetooth_is_discoverable"
+ android:summaryOff="@string/bluetooth_not_discoverable"
+ android:persistent="false" />
+
+ <ListPreference
+ android:key="bt_discoverable_timeout"
+ android:title="@string/bluetooth_visibility_timeout"
+ android:summary="@string/bluetooth_visibility_timeout_summary"
+ android:entries="@array/bluetooth_visibility_timeout_entries"
+ android:entryValues="@array/bluetooth_visibility_timeout_values" />
+
+ <Preference
+ android:key="bt_show_received_files"
+ android:title="@string/bluetooth_show_received_files_title"
+ android:summary="@string/bluetooth_show_received_files_summary" />
+
+</PreferenceScreen>