summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-07-24 17:51:23 -0700
committerDianne Hackborn <hackbod@google.com>2010-07-24 17:51:23 -0700
commit49f4ba4adc255b812d562b7d802f91cb6d8d0671 (patch)
tree321cca20797c742e8e99db26de17611e4466eadf
parent9db5ee35d5345e13e6e6b857dbad5a83e9f037d1 (diff)
downloadpackages_apps_Settings-49f4ba4adc255b812d562b7d802f91cb6d8d0671.zip
packages_apps_Settings-49f4ba4adc255b812d562b7d802f91cb6d8d0671.tar.gz
packages_apps_Settings-49f4ba4adc255b812d562b7d802f91cb6d8d0671.tar.bz2
Various small UI cleanup in settings.
- Remove title bar in various places where it is not useful. - Tighten up some text to avoid spilling across lines. - Remove strong wording about turning off GPS to save battery. Change-Id: Ieed9f8f3a3cf6a892a49362677594b447a266925
-rw-r--r--AndroidManifest.xml5
-rw-r--r--res/layout/installed_app_details.xml1
-rwxr-xr-xres/layout/manage_applications_item.xml1
-rw-r--r--res/values/strings.xml8
4 files changed, 9 insertions, 6 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d1a0f30..13005e4 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -353,7 +353,8 @@
<activity android:name=".applications.ManageApplications"
android:label="@string/manageapplications_settings_title"
android:clearTaskOnLaunch="true"
- android:configChanges="orientation|keyboardHidden">
+ android:configChanges="orientation|keyboardHidden"
+ android:theme="@android:style/Theme.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.MANAGE_PACKAGE_STORAGE" />
@@ -371,6 +372,7 @@
android:exported="true" />
<activity android:name=".applications.InstalledAppDetails"
+ android:theme="@android:style/Theme.NoTitleBar"
android:label="@string/application_info_label">
<intent-filter>
<action android:name="android.settings.APPLICATION_DETAILS_SETTINGS" />
@@ -794,6 +796,7 @@
</activity>
<activity android:name=".fuelgauge.PowerUsageDetail"
+ android:theme="@android:style/Theme.NoTitleBar"
android:label="@string/details_title">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
diff --git a/res/layout/installed_app_details.xml b/res/layout/installed_app_details.xml
index 3243672..fff1975 100644
--- a/res/layout/installed_app_details.xml
+++ b/res/layout/installed_app_details.xml
@@ -25,7 +25,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingRight="6dip"
- android:paddingTop="5dip"
android:paddingBottom="5dip"
android:orientation="vertical">
diff --git a/res/layout/manage_applications_item.xml b/res/layout/manage_applications_item.xml
index 5d8d91b..c4b0937 100755
--- a/res/layout/manage_applications_item.xml
+++ b/res/layout/manage_applications_item.xml
@@ -65,6 +65,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
+ android:visibility="gone"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="@string/disabled" />
</LinearLayout>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 705fdb3..37f9b56 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1450,7 +1450,7 @@
<!-- Security & location settings screen, setting check box label if the GPS receiver should be enabled -->
<string name="location_gps">Use GPS satellites</string>
<!-- Security & location settings screen, setting summary when Use GPS satellites check box is selected -->
- <string name="location_street_level">When locating, accurate to street level (uncheck to conserve battery)</string>
+ <string name="location_street_level">When locating, accurate to street level</string>
<!-- Security & location settings screen, setting summary when Use GPS satellites check box is clear -->
<string name="location_gps_disabled">Locate to street-level (requires more battery plus view of sky)</string>
<!-- Security & location settings screen, setting check box label if Assisted GPS should be enabled -->
@@ -1664,7 +1664,7 @@
<!-- Manage apps, individual app screen, substituted for the application's label when the app's label CAN NOT be determined.-->
<string name="unknown">Unknown</string>
<!-- Manage applications screen, menu item. Sorts all of the apps in the list alphabetically. -->
- <string name="sort_order_alpha">Sort</string>
+ <string name="sort_order_alpha">Sort by name</string>
<!-- Manage applications screen, menu item. Sorts all of the apps in the list based on their file size. This is used to uninstall when space is getting low. -->
<string name="sort_order_size">Sort by size</string>
<!-- Manage applications screen, individual app screen, button label when the user wants to manage the space taken up by an app. -->
@@ -2133,11 +2133,11 @@ found in the list of installed applications.</string>
<string name="battery_sugg_bluetooth_headset">Try connecting to a different bluetooth device</string>
<!-- Description for power consumed by applications -->
- <string name="battery_desc_apps">Battery used by applications when running</string>
+ <string name="battery_desc_apps">Battery used by application</string>
<!-- Suggestion for exploring application info to stop or uninstall -->
<string name="battery_sugg_apps_info">Stop or uninstall the application</string>
<!-- Suggestion for getting apps to consume less power due to GPS-->
- <string name="battery_sugg_apps_gps">"Turn off GPS when you're not using it"</string>
+ <string name="battery_sugg_apps_gps">"Manually control GPS to prevent application from using it"</string>
<!-- Suggestion for getting apps to consume less power -->
<string name="battery_sugg_apps_settings">The application may offer settings to reduce battery use</string>