1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 * Copyright (C) 2008 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 --> 17 18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="fill_parent" 20 android:layout_height="fill_parent" 21 android:orientation="vertical"> 22 <FrameLayout 23 android:layout_width="fill_parent" 24 android:layout_height="0px" 25 android:layout_weight="1"> 26 <ListView android:id="@android:id/list" 27 android:layout_width="fill_parent" 28 android:layout_height="fill_parent" 29 android:drawSelectorOnTop="false" 30 android:fastScrollEnabled="true" /> 31 <TextView android:id="@android:id/empty" 32 android:layout_width="fill_parent" 33 android:layout_height="fill_parent" 34 android:gravity="center" 35 android:text="@string/no_running_services" 36 android:textAppearance="?android:attr/textAppearanceLarge" /> 37 </FrameLayout> 38 <LinearLayout 39 android:layout_width="fill_parent" 40 android:layout_height="wrap_content" 41 android:orientation="horizontal" 42 android:background="?android:attr/colorForeground" 43 android:padding="4dp"> 44 <TextView android:id="@+id/backgroundText" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:layout_weight="1" 48 android:textAppearance="?android:attr/textAppearanceSmallInverse" 49 android:color="?android:attr/textColorPrimaryInverse" 50 android:singleLine="true" /> 51 <TextView android:id="@+id/foregroundText" 52 android:layout_gravity="center_vertical|right" 53 android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:layout_weight="0" 56 android:textAppearance="?android:attr/textAppearanceSmallInverse" 57 android:color="?android:attr/textColorPrimaryInverse" 58 android:singleLine="true" /> 59 </LinearLayout> 60</LinearLayout> 61