diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-09-10 15:57:57 -0400 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-09-10 15:57:57 -0400 |
commit | cded847838c726342bfe56e69d417d160c73f212 (patch) | |
tree | 992c4916567dd4cb0643b2cf581167c511f21dc2 /res | |
parent | e07eb49793ef2d4fd494717159ebdd3aaef41e08 (diff) | |
parent | 85710167c685f0bfe20dc22505be132966241088 (diff) | |
download | packages_apps_Settings-cded847838c726342bfe56e69d417d160c73f212.zip packages_apps_Settings-cded847838c726342bfe56e69d417d160c73f212.tar.gz packages_apps_Settings-cded847838c726342bfe56e69d417d160c73f212.tar.bz2 |
Merge change 24553 into eclair
* changes:
Make running services show dependent processes.
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/running_services.xml | 54 | ||||
-rw-r--r-- | res/values/arrays.xml | 8 | ||||
-rw-r--r-- | res/values/strings.xml | 6 |
3 files changed, 51 insertions, 17 deletions
diff --git a/res/layout/running_services.xml b/res/layout/running_services.xml index 8fe7f9f..120a113 100644 --- a/res/layout/running_services.xml +++ b/res/layout/running_services.xml @@ -15,16 +15,46 @@ * limitations under the License. --> -<merge xmlns:android="http://schemas.android.com/apk/res/android"> - <ListView android:id="@android:id/list" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:drawSelectorOnTop="false" - android:fastScrollEnabled="true" /> - <TextView android:id="@android:id/empty" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + <FrameLayout + android:layout_width="fill_parent" + android:layout_height="0px" + android:layout_weight="1"> + <ListView android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:drawSelectorOnTop="false" + android:fastScrollEnabled="true" /> + <TextView android:id="@android:id/empty" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:text="@string/no_running_services" + android:textAppearance="?android:attr/textAppearanceLarge" /> + </FrameLayout> + <LinearLayout android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:gravity="center" - android:text="@string/no_running_services" - android:textAppearance="?android:attr/textAppearanceLarge" /> -</merge> + android:layout_height="wrap_content" + android:orientation="horizontal" + android:background="?android:attr/colorForeground" + android:padding="4dp"> + <TextView android:id="@+id/backgroundText" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:textAppearance="?android:attr/textAppearanceSmallInverse" + android:color="?android:attr/textColorPrimaryInverse" + android:singleLine="true" /> + <TextView android:id="@+id/foregroundText" + android:layout_gravity="center_vertical|right" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="0" + android:textAppearance="?android:attr/textAppearanceSmallInverse" + android:color="?android:attr/textColorPrimaryInverse" + android:singleLine="true" /> + </LinearLayout> +</LinearLayout> diff --git a/res/values/arrays.xml b/res/values/arrays.xml index bb786c2..8dadc54 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -50,10 +50,10 @@ <!-- Display settings. The type of animations to show. --> <string-array name="animations_entries"> - <item>Off</item> - <item>Some</item> - <item>All</item> - <item>Slow</item> + <item>No animations</item> + <item>Some animations</item> + <item>All animations</item> + <item>Slower all animations</item> </string-array> <!-- Display settings. Summary for each type of animation. --> diff --git a/res/values/strings.xml b/res/values/strings.xml index 847e879..4d89630 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1422,9 +1422,13 @@ found in the list of installed applications.</string> <!-- Running services, button to cancel stopping of a service --> <string name="confirm_stop_cancel">Cancel</string> <!-- Running services, description for a service in the started state --> - <string name="service_started_by_app">Started by application</string> + <string name="service_started_by_app">Started by application: select to stop</string> <!-- Running services, description for a service in the started state --> <string name="service_client_name"><xliff:g id="client_name">%1$s</xliff:g>: select to manage</string> + <!-- Running services, summary of background processes --> + <string name="service_background_processes">Background procs: <xliff:g id="client_name">%1$d</xliff:g></string> + <!-- Running services, summary of foreground processes --> + <string name="service_foreground_processes">Foreground procs: <xliff:g id="client_name">%1$d</xliff:g></string> <!-- Language Settings --> <skip /> <!-- Title of setting on main settings screen. This item will take the user to the screen to tweak settings realted to locale and text --> |