1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3     Licensed under the Apache License, Version 2.0 (the "License");
4     you may not use this file except in compliance with the License.
5     You may obtain a copy of the License at
6          http://www.apache.org/licenses/LICENSE-2.0
7     Unless required by applicable law or agreed to in writing, software
8     distributed under the License is distributed on an "AS IS" BASIS,
9     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10     See the License for the specific language governing permissions and
11     limitations under the License.
12-->
13<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
14    android:orientation="vertical"
15    android:layout_width="match_parent"
16    android:layout_height="match_parent"
17>
18    <ListView android:id="@id/android:list"
19        android:layout_width="match_parent"
20        android:layout_height="wrap_content"
21        android:layout_weight="1"
22    />
23    <TextView android:id="@id/android:empty"
24        android:layout_gravity="center_vertical"
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:layout_weight="1"
28        android:padding="10dip"
29        android:text="@string/da_no_policy"
30        android:textSize="18dip"
31    />
32    <LinearLayout android:orientation="horizontal"
33        android:layout_width="match_parent"
34        android:layout_height="wrap_content"
35    >
36        <Button android:id="@+id/generate_policy_button"
37            android:layout_width="1dip"
38            android:layout_height="wrap_content"
39            android:layout_weight="1"
40            android:text="@string/da_generate_policy"
41        />
42        <Button android:id="@+id/apply_policy_button"
43            android:layout_width="1dip"
44            android:layout_height="wrap_content"
45            android:layout_weight="1"
46            android:text="@string/da_apply_policy"
47        />
48    </LinearLayout>
49    <include layout="@layout/pass_fail_buttons"/>
50</LinearLayout>
51