1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2013 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
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:orientation="vertical">
21
22    <com.android.documentsui.DocumentsToolBar
23        android:id="@+id/toolbar"
24        android:layout_width="match_parent"
25        android:layout_height="?android:attr/actionBarSize"
26        android:background="?android:attr/colorPrimary"
27        android:elevation="8dp"
28        android:theme="?android:attr/actionBarTheme">
29
30        <Spinner
31            android:id="@+id/stack"
32            android:layout_width="wrap_content"
33            android:layout_height="wrap_content"
34            android:layout_marginStart="4dp"
35            android:overlapAnchor="true" />
36
37    </com.android.documentsui.DocumentsToolBar>
38
39    <LinearLayout
40        android:layout_width="match_parent"
41        android:layout_height="0dp"
42        android:layout_weight="1"
43        android:orientation="horizontal"
44        android:baselineAligned="false"
45        android:divider="?android:attr/dividerVertical"
46        android:showDividers="middle">
47
48        <FrameLayout
49            android:id="@+id/container_roots"
50            android:layout_width="256dp"
51            android:layout_height="match_parent" />
52
53        <LinearLayout
54            android:layout_width="0dp"
55            android:layout_height="match_parent"
56            android:layout_weight="1"
57            android:orientation="vertical"
58            android:background="@color/material_grey_50"
59            android:elevation="8dp">
60
61            <com.android.documentsui.DirectoryContainerView
62                android:id="@+id/container_directory"
63                android:layout_width="match_parent"
64                android:layout_height="0dp"
65                android:layout_weight="1" />
66
67            <FrameLayout
68                android:id="@+id/container_save"
69                android:layout_width="match_parent"
70                android:layout_height="wrap_content"
71                android:background="@color/material_grey_50"
72                android:elevation="8dp" />
73
74        </LinearLayout>
75
76    </LinearLayout>
77
78</LinearLayout>
79