1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright (C) 2019 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<!-- Note: There is a landscape version of this layout. -->
19<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20              android:layout_width="match_parent"
21              android:layout_height="wrap_content"
22              android:orientation="vertical">
23
24    <TextView
25        android:id="@+id/panel_title"
26        android:layout_width="match_parent"
27        android:layout_height="wrap_content"
28        android:gravity="center"
29        android:paddingBottom="24dp"
30        android:paddingTop="18dp"
31        android:textColor="?android:attr/colorPrimary"
32        android:textSize="20sp"/>
33
34    <include layout="@layout/panel_slice_list"/>
35
36    <LinearLayout
37        android:layout_width="match_parent"
38        android:layout_height="wrap_content"
39        android:orientation="horizontal"
40        android:paddingTop="8dp"
41        android:paddingBottom="8dp">
42
43        <Button
44            android:id="@+id/see_more"
45            style="@android:style/Widget.DeviceDefault.Button.Borderless.Colored"
46            android:layout_width="wrap_content"
47            android:layout_height="48dp"
48            android:layout_marginStart="12dp"
49            android:text="@string/see_more"/>
50
51        <Space
52            android:layout_weight="1"
53            android:layout_width="0dp"
54            android:layout_height="match_parent" />
55
56        <Button
57            android:id="@+id/done"
58            style="@android:style/Widget.DeviceDefault.Button.Borderless.Colored"
59            android:layout_width="wrap_content"
60            android:layout_height="48dp"
61            android:layout_marginEnd="12dp"
62            android:text="@string/done"/>
63    </LinearLayout>
64</LinearLayout>