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