From 49f4ba4adc255b812d562b7d802f91cb6d8d0671 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Sat, 24 Jul 2010 17:51:23 -0700 Subject: [PATCH] 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 --- AndroidManifest.xml | 5 ++++- res/layout/installed_app_details.xml | 1 - res/layout/manage_applications_item.xml | 1 + res/values/strings.xml | 8 ++++---- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index d1a0f30f3e2..13005e49cc7 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -353,7 +353,8 @@ + android:configChanges="orientation|keyboardHidden" + android:theme="@android:style/Theme.NoTitleBar"> @@ -371,6 +372,7 @@ android:exported="true" /> @@ -794,6 +796,7 @@ diff --git a/res/layout/installed_app_details.xml b/res/layout/installed_app_details.xml index 324367222e5..fff197553de 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 5d8d91b83a7..c4b0937dc50 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" /> diff --git a/res/values/strings.xml b/res/values/strings.xml index 705fdb30d3b..37f9b56536b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1450,7 +1450,7 @@ Use GPS satellites - When locating, accurate to street level (uncheck to conserve battery) + When locating, accurate to street level Locate to street-level (requires more battery plus view of sky) @@ -1664,7 +1664,7 @@ Unknown - Sort + Sort by name Sort by size @@ -2133,11 +2133,11 @@ found in the list of installed applications. Try connecting to a different bluetooth device - Battery used by applications when running + Battery used by application Stop or uninstall the application - "Turn off GPS when you're not using it" + "Manually control GPS to prevent application from using it" The application may offer settings to reduce battery use