1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 * Copyright (C) 2010 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="match_parent" 20 android:layout_height="match_parent" 21 android:orientation="vertical"> 22 <FrameLayout 23 android:layout_width="match_parent" 24 android:layout_height="0px" 25 android:layout_weight="1"> 26 <ListView android:id="@android:id/list" 27 android:layout_width="match_parent" 28 android:layout_height="match_parent" 29 android:drawSelectorOnTop="false" 30 android:fastScrollEnabled="true" /> 31 <TextView android:id="@android:id/empty" 32 android:layout_width="match_parent" 33 android:layout_height="match_parent" 34 android:gravity="center" 35 android:text="@string/no_running_services" 36 android:textAppearance="?android:attr/textAppearanceLarge" /> 37 </FrameLayout> 38 <view class="com.android.settings.applications.LinearColorBar" 39 android:id="@+id/color_bar" 40 android:layout_width="match_parent" 41 android:layout_height="wrap_content" 42 android:layout_marginTop="-5dp" 43 android:orientation="horizontal" 44 android:clipChildren="false" 45 android:clipToPadding="false" 46 android:paddingTop="30dp" 47 android:paddingLeft="4dp" 48 android:paddingRight="4dp" 49 android:paddingBottom="1dp"> 50 <TextView android:id="@+id/foregroundText" 51 android:layout_width="0px" 52 android:layout_height="wrap_content" 53 android:layout_weight="1" 54 android:focusable="true" 55 android:gravity="left|bottom" 56 android:textAppearance="?android:attr/textAppearanceSmallInverse" 57 android:textColor="#000" 58 android:singleLine="true" /> 59 <TextView 60 android:layout_width="wrap_content" 61 android:layout_height="wrap_content" 62 android:layout_weight="0" 63 android:layout_marginTop="-20dp" 64 android:textAppearance="?android:attr/textAppearanceSmallInverse" 65 android:textColor="#ccc" 66 android:shadowColor="#000" 67 android:shadowRadius="5" 68 android:textStyle="bold" 69 android:singleLine="true" 70 android:text="@string/memory" /> 71 <TextView android:id="@+id/backgroundText" 72 android:layout_gravity="center_vertical|right" 73 android:layout_width="0px" 74 android:layout_height="wrap_content" 75 android:layout_weight="1" 76 android:focusable="true" 77 android:gravity="right|bottom" 78 android:textAppearance="?android:attr/textAppearanceSmallInverse" 79 android:textColor="#000" 80 android:singleLine="true" /> 81 </view> 82 </LinearLayout> 83