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
This commit is contained in:
Dianne Hackborn
2010-07-24 17:51:23 -07:00
parent 9db5ee35d5
commit 49f4ba4adc
4 changed files with 9 additions and 6 deletions

View File

@@ -353,7 +353,8 @@
<activity android:name=".applications.ManageApplications" <activity android:name=".applications.ManageApplications"
android:label="@string/manageapplications_settings_title" android:label="@string/manageapplications_settings_title"
android:clearTaskOnLaunch="true" android:clearTaskOnLaunch="true"
android:configChanges="orientation|keyboardHidden"> android:configChanges="orientation|keyboardHidden"
android:theme="@android:style/Theme.NoTitleBar">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.MANAGE_PACKAGE_STORAGE" /> <action android:name="android.intent.action.MANAGE_PACKAGE_STORAGE" />
@@ -371,6 +372,7 @@
android:exported="true" /> android:exported="true" />
<activity android:name=".applications.InstalledAppDetails" <activity android:name=".applications.InstalledAppDetails"
android:theme="@android:style/Theme.NoTitleBar"
android:label="@string/application_info_label"> android:label="@string/application_info_label">
<intent-filter> <intent-filter>
<action android:name="android.settings.APPLICATION_DETAILS_SETTINGS" /> <action android:name="android.settings.APPLICATION_DETAILS_SETTINGS" />
@@ -794,6 +796,7 @@
</activity> </activity>
<activity android:name=".fuelgauge.PowerUsageDetail" <activity android:name=".fuelgauge.PowerUsageDetail"
android:theme="@android:style/Theme.NoTitleBar"
android:label="@string/details_title"> android:label="@string/details_title">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />

View File

@@ -25,7 +25,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:paddingRight="6dip" android:paddingRight="6dip"
android:paddingTop="5dip"
android:paddingBottom="5dip" android:paddingBottom="5dip"
android:orientation="vertical"> android:orientation="vertical">

View File

@@ -65,6 +65,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0"
android:visibility="gone"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:text="@string/disabled" /> android:text="@string/disabled" />
</LinearLayout> </LinearLayout>

View File

@@ -1450,7 +1450,7 @@
<!-- Security & location settings screen, setting check box label if the GPS receiver should be enabled --> <!-- Security & location settings screen, setting check box label if the GPS receiver should be enabled -->
<string name="location_gps">Use GPS satellites</string> <string name="location_gps">Use GPS satellites</string>
<!-- Security & location settings screen, setting summary when Use GPS satellites check box is selected --> <!-- 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 --> <!-- 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> <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 --> <!-- 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.--> <!-- 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> <string name="unknown">Unknown</string>
<!-- Manage applications screen, menu item. Sorts all of the apps in the list alphabetically. --> <!-- 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. --> <!-- 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> <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. --> <!-- 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> <string name="battery_sugg_bluetooth_headset">Try connecting to a different bluetooth device</string>
<!-- Description for power consumed by applications --> <!-- 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 --> <!-- Suggestion for exploring application info to stop or uninstall -->
<string name="battery_sugg_apps_info">Stop or uninstall the application</string> <string name="battery_sugg_apps_info">Stop or uninstall the application</string>
<!-- Suggestion for getting apps to consume less power due to GPS--> <!-- 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 --> <!-- Suggestion for getting apps to consume less power -->
<string name="battery_sugg_apps_settings">The application may offer settings to reduce battery use</string> <string name="battery_sugg_apps_settings">The application may offer settings to reduce battery use</string>