summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-09-10 11:55:42 -0700
committerDianne Hackborn <hackbod@google.com>2009-09-10 12:08:53 -0700
commit85710167c685f0bfe20dc22505be132966241088 (patch)
tree1325210b329b4d81d81541a13428c2d80db3b6b7 /res/layout
parentf71c8b40b5a92e21d09dd75880e16aa857c1b6cb (diff)
downloadpackages_apps_settings-85710167c685f0bfe20dc22505be132966241088.zip
packages_apps_settings-85710167c685f0bfe20dc22505be132966241088.tar.gz
packages_apps_settings-85710167c685f0bfe20dc22505be132966241088.tar.bz2
Make running services show dependent processes.
And other various improvement and cleanup. Change-Id: I0a33ab2876c8f409cd3cfecbbac574563ef1a162
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/running_services.xml54
1 files changed, 42 insertions, 12 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>