Dianne Hackborn | c58c549 | 2009-08-31 21:33:17 -0700 | [diff] [blame] | 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 | |
Dianne Hackborn | 8571016 | 2009-09-10 11:55:42 -0700 | [diff] [blame] | 18 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
Dianne Hackborn | 8571016 | 2009-09-10 11:55:42 -0700 | [diff] [blame] | 21 | android:orientation="vertical"> |
| 22 | <FrameLayout |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 23 | android:layout_width="match_parent" |
Dianne Hackborn | 8571016 | 2009-09-10 11:55:42 -0700 | [diff] [blame] | 24 | android:layout_height="0px" |
| 25 | android:layout_weight="1"> |
| 26 | <ListView android:id="@android:id/list" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 27 | android:layout_width="match_parent" |
| 28 | android:layout_height="match_parent" |
Dianne Hackborn | 8571016 | 2009-09-10 11:55:42 -0700 | [diff] [blame] | 29 | android:drawSelectorOnTop="false" |
| 30 | android:fastScrollEnabled="true" /> |
| 31 | <TextView android:id="@android:id/empty" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="match_parent" |
Dianne Hackborn | 8571016 | 2009-09-10 11:55:42 -0700 | [diff] [blame] | 34 | android:gravity="center" |
| 35 | android:text="@string/no_running_services" |
| 36 | android:textAppearance="?android:attr/textAppearanceLarge" /> |
| 37 | </FrameLayout> |
Dianne Hackborn | 728ac35 | 2010-06-06 22:51:42 -0700 | [diff] [blame] | 38 | <view class="com.android.settings.applications.RunningServices$LinearColorBar" |
Dianne Hackborn | cb49754 | 2010-02-21 20:07:27 -0800 | [diff] [blame] | 39 | android:id="@+id/color_bar" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 40 | android:layout_width="match_parent" |
Dianne Hackborn | 8571016 | 2009-09-10 11:55:42 -0700 | [diff] [blame] | 41 | android:layout_height="wrap_content" |
| 42 | android:orientation="horizontal" |
Dianne Hackborn | 8571016 | 2009-09-10 11:55:42 -0700 | [diff] [blame] | 43 | android:padding="4dp"> |
Dianne Hackborn | cb49754 | 2010-02-21 20:07:27 -0800 | [diff] [blame] | 44 | <TextView android:id="@+id/foregroundText" |
Dianne Hackborn | 8571016 | 2009-09-10 11:55:42 -0700 | [diff] [blame] | 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" /> |
Dianne Hackborn | cb49754 | 2010-02-21 20:07:27 -0800 | [diff] [blame] | 51 | <TextView android:id="@+id/backgroundText" |
Dianne Hackborn | 8571016 | 2009-09-10 11:55:42 -0700 | [diff] [blame] | 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" /> |
Dianne Hackborn | cb49754 | 2010-02-21 20:07:27 -0800 | [diff] [blame] | 59 | </view> |
Dianne Hackborn | 8571016 | 2009-09-10 11:55:42 -0700 | [diff] [blame] | 60 | </LinearLayout> |