blob: faca22c39dbdcd36642a75ad81f56e9d15d2a1df [file] [log] [blame]
Dianne Hackbornc58c5492009-08-31 21:33:17 -07001<?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 Hackborn85710162009-09-10 11:55:42 -070018<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy33787152010-01-08 15:07:10 -080019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Dianne Hackborn85710162009-09-10 11:55:42 -070021 android:orientation="vertical">
22 <FrameLayout
Romain Guy33787152010-01-08 15:07:10 -080023 android:layout_width="match_parent"
Dianne Hackborn85710162009-09-10 11:55:42 -070024 android:layout_height="0px"
25 android:layout_weight="1">
26 <ListView android:id="@android:id/list"
Romain Guy33787152010-01-08 15:07:10 -080027 android:layout_width="match_parent"
28 android:layout_height="match_parent"
Dianne Hackborn85710162009-09-10 11:55:42 -070029 android:drawSelectorOnTop="false"
30 android:fastScrollEnabled="true" />
31 <TextView android:id="@android:id/empty"
Romain Guy33787152010-01-08 15:07:10 -080032 android:layout_width="match_parent"
33 android:layout_height="match_parent"
Dianne Hackborn85710162009-09-10 11:55:42 -070034 android:gravity="center"
35 android:text="@string/no_running_services"
36 android:textAppearance="?android:attr/textAppearanceLarge" />
37 </FrameLayout>
Dianne Hackborn728ac352010-06-06 22:51:42 -070038 <view class="com.android.settings.applications.RunningServices$LinearColorBar"
Dianne Hackborncb497542010-02-21 20:07:27 -080039 android:id="@+id/color_bar"
Romain Guy33787152010-01-08 15:07:10 -080040 android:layout_width="match_parent"
Dianne Hackborn85710162009-09-10 11:55:42 -070041 android:layout_height="wrap_content"
42 android:orientation="horizontal"
Dianne Hackborn85710162009-09-10 11:55:42 -070043 android:padding="4dp">
Dianne Hackborncb497542010-02-21 20:07:27 -080044 <TextView android:id="@+id/foregroundText"
Dianne Hackborn85710162009-09-10 11:55:42 -070045 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 Hackborncb497542010-02-21 20:07:27 -080051 <TextView android:id="@+id/backgroundText"
Dianne Hackborn85710162009-09-10 11:55:42 -070052 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 Hackborncb497542010-02-21 20:07:27 -080059 </view>
Dianne Hackborn85710162009-09-10 11:55:42 -070060</LinearLayout>