diff options
author | Anthony Chen <ajchen@google.com> | 2017-01-27 11:00:04 -0800 |
---|---|---|
committer | Anthony Chen <ajchen@google.com> | 2017-02-21 14:56:58 -0800 |
commit | 2066ca63ba8f0765ee30e1be14552866da35d8ac (patch) | |
tree | e0272a1183896ff9c8dabec890adc129dd01d768 /SetupWizard/res/xml/items_bluetooth.xml | |
parent | 240360dcbcb2ed46c1f4a16615e87ceafd0d6419 (diff) | |
download | UserManagement-2066ca63ba8f0765ee30e1be14552866da35d8ac.tar.gz |
Bluetooth configuration for SetupWizard.
This bluetooth activity will ask the user to pair a bluetooth device.
Upon completion of a successful pairing, the screen will move onto the
next action. This means during setup, only a single bluetooth item will
be set up.
Test: manually tested
Bug: 34378933
Change-Id: I4469c274cf0ba063a871b8772d33496a99de4d5b
Diffstat (limited to 'SetupWizard/res/xml/items_bluetooth.xml')
-rw-r--r-- | SetupWizard/res/xml/items_bluetooth.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/SetupWizard/res/xml/items_bluetooth.xml b/SetupWizard/res/xml/items_bluetooth.xml new file mode 100644 index 0000000..ed538c8 --- /dev/null +++ b/SetupWizard/res/xml/items_bluetooth.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2017 Google Inc. + + 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. +--> +<ItemGroup xmlns:android="http://schemas.android.com/apk/res/android"> + + <Item + android:id="@+id/bluetooth_description" + android:enabled="false" + android:layout="@layout/suw_items_description" /> + + <Item + android:id="@+id/bluetooth_dont_connect" + android:icon="@drawable/ic_skip" + android:title="@string/bluetooth_dont_connect" /> + + <Item + android:id="@+id/bluetooth_scanning" + android:icon="@drawable/ic_bluetooth_scanning" + android:layout="@layout/items_greyed_out" + android:title="@string/bluetooth_scanning" /> + + <Item + android:id="@+id/bluetooth_rescan" + android:icon="@drawable/ic_refresh" + android:title="@string/bluetooth_rescan" + android:visible="false" /> + + <com.android.car.setupwizard.bluetooth.BluetoothDeviceHierarchy + android:id="@+id/bluetooth_device_list" /> + +</ItemGroup> |