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:fitsSystemWindows="true"
15    android:orientation="vertical"
16    android:layout_width="match_parent"
17    android:layout_height="match_parent"
18>
19    <ListView android:id="@id/android:list"
20        android:layout_width="match_parent"
21        android:layout_height="wrap_content"
22        android:layout_weight="1"
23    />
24    <TextView android:id="@id/android:empty"
25        android:layout_gravity="center_vertical"
26        android:layout_width="match_parent"
27        android:layout_height="wrap_content"
28        android:layout_weight="1"
29        android:padding="10dip"
30        android:text="@string/da_no_policy"
31        android:textSize="18dip"
32    />
33    <LinearLayout android:orientation="horizontal"
34        android:layout_width="match_parent"
35        android:layout_height="wrap_content"
36    >
37        <Button android:id="@+id/generate_policy_button"
38            android:layout_width="1dip"
39            android:layout_height="wrap_content"
40            android:layout_weight="1"
41            android:text="@string/da_generate_policy"
42        />
43        <Button android:id="@+id/apply_policy_button"
44            android:layout_width="1dip"
45            android:layout_height="wrap_content"
46            android:layout_weight="1"
47            android:text="@string/da_apply_policy"
48        />
49    </LinearLayout>
50    <include layout="@layout/pass_fail_buttons"/>
51</LinearLayout>
52