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