summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRobert Greenwalt <robdroid@android.com>2010-03-04 13:29:02 -0800
committerRobert Greenwalt <robdroid@android.com>2010-03-04 18:24:11 -0800
commit209177aac6761db097c53152f6e9543f60748f15 (patch)
tree9aa63a28c1ca67c02d9af44ee17c82e8b01224a2 /res
parentbecd96e41259bb96ff3218fa961c83f28eae58d1 (diff)
downloadpackages_apps_Settings-209177aac6761db097c53152f6e9543f60748f15.zip
packages_apps_Settings-209177aac6761db097c53152f6e9543f60748f15.tar.gz
packages_apps_Settings-209177aac6761db097c53152f6e9543f60748f15.tar.bz2
Update Tethering UI
Finalizing some strings and changing the error handling.
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml20
-rw-r--r--res/xml/tether_prefs.xml19
2 files changed, 18 insertions, 21 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index b6cb2fa..646c038 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1374,9 +1374,9 @@
<string name="call_settings_summary">Set up voicemail, call forwarding, call waiting, caller ID</string>
<!-- Tethering controls, item title to go into the tethering settings -->
- <string name="tether_settings_title">Tethering settings</string>
+ <string name="tether_settings_title">Tethering</string>
<!-- Tethering controls, the item summary for the user to go into the tethering settings -->
- <string name="tether_settings_summary">Set up and manage tethering</string>
+ <string name="tether_settings_summary">Set up &amp; manage tethering</string>
<!-- Title of the screen for adjusting tethering settings -->
<string name="tether_screen_title">Tethering settings</string>
@@ -1385,15 +1385,23 @@
<string name="usb_title">USB</string>
<string name="usb_tethering_button_text">USB tethering</string>
<!-- USB available subtext - shown when USB is connected but not currently being tethered -->
- <string name="usb_tethering_available_subtext">USB connected, select to tether</string>
+ <string name="usb_tethering_available_subtext">USB connected, check to tether</string>
<!-- USB tethered subtext - shown when USB is connected and being tethered -->
- <string name="usb_tethering_active_subtext">Connected, select to disconnect</string>
+ <string name="usb_tethering_active_subtext">Tethered</string>
<!-- USB storage subtext - shown when tethering is disabled because USB storage is active -->
- <string name="usb_tethering_storage_active_subtext">Tethering disabled (USB storage is in use)</string>
+ <string name="usb_tethering_storage_active_subtext">Can\'t tether when USB storage in use</string>
<!-- USB unavailable subtext - shown when USB is not connected -->
<string name="usb_tethering_unavailable_subtext">USB not connected</string>
<!-- USB errored subtext - shown when USB is broken for some reason -->
- <string name="usb_tethering_errored_subtext">USB tethering has had a problem.</string>
+ <string name="usb_tethering_errored_subtext">USB tethering error</string>
+
+ <!-- Thethering help button - calls up a web view with general tethering info -->
+ <string name="tethering_help_button_text">Tethering help</string>
+
+ <!-- Tethered notification text - shown in the notification bar when tethering is active -->
+ <string name="tethered_notifcation_title">Tethering active</string>
+ <!-- Tethered notification message - shown under the notification title -->
+ <string name="tethered_notification_message">Touch to configure</string>
<!-- Wireless controls, item title to go into the network settings -->
<string name="network_settings_title">Mobile networks</string>
diff --git a/res/xml/tether_prefs.xml b/res/xml/tether_prefs.xml
index aefe6d3..bdf693f 100644
--- a/res/xml/tether_prefs.xml
+++ b/res/xml/tether_prefs.xml
@@ -17,21 +17,10 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/tether_screen_title">
- <PreferenceCategory
- android:key="usb_category"
- android:title="@string/usb_title">
-
- <PreferenceScreen
- android:key="usb_tether_settings"
- android:title="@string/usb_tethering_button_text"
- android:widgetLayout="@*android:layout/preference_dialog" >
- <intent
- android:action="android.intent.action.MAIN"
- android:targetPackage="android"
- android:targetClass="com.android.internal.app.TetherActivity" />
- </PreferenceScreen>
-
- </PreferenceCategory>
+ <CheckBoxPreference
+ android:key="usb_tether_settings"
+ android:title="@string/usb_tethering_button_text"
+ android:persistent="false" />
<PreferenceCategory
android:key="wifi_category"