• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    android:layout_width="match_parent"
18    android:layout_height="wrap_content"
19    android:layout_marginTop="@dimen/action_bar_space_margin"
20    android:orientation="vertical">
21
22    <!-- used for search chip. -->
23    <include layout="@layout/search_chip_row"/>
24
25    <!-- used for apps row. -->
26    <include layout="@layout/apps_row"/>
27
28    <LinearLayout
29        android:layout_width="match_parent"
30        android:layout_height="wrap_content"
31        android:layout_marginStart="@dimen/root_info_header_horizontal_padding"
32        android:layout_marginEnd="@dimen/root_info_header_horizontal_padding"
33        android:minHeight="@dimen/root_info_header_height">
34
35        <TextView
36            android:id="@+id/header_title"
37            android:layout_width="match_parent"
38            android:layout_height="match_parent"
39            android:layout_weight="1"
40            android:textAppearance="@style/SortTitle"
41            android:textAllCaps="true"
42            android:maxLines="1"
43            android:ellipsize="end"
44            android:gravity="start|center_vertical"/>
45
46        <androidx.appcompat.widget.ActionMenuView
47            android:id="@+id/sub_menu"
48            android:layout_width="wrap_content"
49            android:layout_height="wrap_content"
50            android:layout_gravity="end|center_vertical"/>
51
52    </LinearLayout>
53
54    <!-- column headers are empty on small screens, in portrait or in grid mode. -->
55    <include layout="@layout/column_headers"/>
56
57</LinearLayout>