Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   Copyright (C) 2018 The Android Open Source Project
      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 
     18 <LinearLayout
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     android:id="@+id/app_entities_header"
     21     android:layout_width="match_parent"
     22     android:layout_height="wrap_content"
     23     android:paddingStart="16dp"
     24     android:paddingEnd="16dp"
     25     android:gravity="center"
     26     android:orientation="vertical">
     27 
     28     <TextView
     29         android:id="@+id/header_title"
     30         android:layout_width="wrap_content"
     31         android:layout_height="48dp"
     32         android:gravity="center"
     33         android:textAppearance="@style/AppEntitiesHeader.Text.HeaderTitle"/>
     34 
     35     <LinearLayout
     36         android:id="@+id/app_views_container"
     37         android:layout_width="match_parent"
     38         android:layout_height="wrap_content"
     39         android:paddingTop="16dp"
     40         android:paddingBottom="16dp"
     41         android:gravity="center">
     42 
     43         <include
     44             android:id="@+id/app1_view"
     45             layout="@layout/app_view"/>
     46 
     47         <include
     48             android:id="@+id/app2_view"
     49             layout="@layout/app_view"/>
     50 
     51         <include
     52             android:id="@+id/app3_view"
     53             layout="@layout/app_view"/>
     54 
     55     </LinearLayout>
     56 
     57     <Button
     58         android:id="@+id/header_details"
     59         style="@*android:style/Widget.DeviceDefault.Button.Borderless.Colored"
     60         android:layout_width="wrap_content"
     61         android:layout_height="48dp"
     62         android:gravity="center"/>
     63 
     64     <TextView
     65         android:id="@+id/empty_view"
     66         android:layout_width="match_parent"
     67         android:layout_height="106dp"
     68         android:gravity="center"
     69         android:visibility="gone"
     70         android:textAppearance="@style/AppEntitiesHeader.Text.Summary"/>
     71 
     72 </LinearLayout>
     73