diff options
author | Mike Lockwood <lockwood@android.com> | 2011-06-30 14:47:46 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-07-06 10:56:13 -0400 |
commit | 02900a12b11efc89057fc5d0a19c08d20ff8d2c1 (patch) | |
tree | 35b963e1dd7b9dd7e0ad71df0cbd139312cec7bc /res/xml/usb_settings.xml | |
parent | fce1543ae90c613ee0e3bfd76ad43ca5e332b4bf (diff) | |
download | packages_apps_settings-02900a12b11efc89057fc5d0a19c08d20ff8d2c1.zip packages_apps_settings-02900a12b11efc89057fc5d0a19c08d20ff8d2c1.tar.gz packages_apps_settings-02900a12b11efc89057fc5d0a19c08d20ff8d2c1.tar.bz2 |
Super rough implementation of new USB settings
There does not seem to be a way to implement radio buttons in a settings screen,
so I am using check boxes as a temporary hack.
Change-Id: I2d2c7931f689ff04608662b64aafc4862cfef48e
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'res/xml/usb_settings.xml')
-rw-r--r-- | res/xml/usb_settings.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/res/xml/usb_settings.xml b/res/xml/usb_settings.xml new file mode 100644 index 0000000..e2a950d --- /dev/null +++ b/res/xml/usb_settings.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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/location_settings_title"> + + <CheckBoxPreference + android:key="usb_mtp" + android:title="@string/usb_label_mtp" + /> + + <CheckBoxPreference + android:key="usb_ptp" + android:title="@string/usb_label_ptp" + /> + +</PreferenceScreen> |