2015-08-20 16:48:49 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2013 The Android Open Source Project
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2015-09-30 10:00:10 -07:00
|
|
|
<!-- CoordinatorLayout is necessary for various components (e.g. Snackbars, and
|
|
|
|
floating action buttons) to operate correctly. -->
|
2016-02-10 07:46:35 -08:00
|
|
|
<!-- focusableInTouchMode is set in order to force key events to go to the activity's global key
|
|
|
|
callback, which is necessary for proper event routing. See BaseActivity.onKeyDown. -->
|
2015-09-30 10:00:10 -07:00
|
|
|
<android.support.design.widget.CoordinatorLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-08-20 16:48:49 -07:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2016-02-10 07:46:35 -08:00
|
|
|
android:id="@+id/coordinator_layout"
|
|
|
|
android:focusableInTouchMode="true">
|
2015-08-20 16:48:49 -07:00
|
|
|
|
2016-02-02 12:11:10 -08:00
|
|
|
<LinearLayout
|
2015-08-20 16:48:49 -07:00
|
|
|
android:layout_width="match_parent"
|
2015-09-30 10:00:10 -07:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2016-02-03 11:15:57 -08:00
|
|
|
<com.android.documentsui.DocumentsToolbar
|
2015-09-30 10:00:10 -07:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?android:attr/actionBarSize"
|
|
|
|
android:background="?android:attr/colorPrimary"
|
2015-09-08 07:31:19 -07:00
|
|
|
android:elevation="8dp"
|
2015-09-30 10:00:10 -07:00
|
|
|
android:theme="?actionBarTheme"
|
|
|
|
android:popupTheme="?actionBarPopupTheme">
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/stack"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="4dp"
|
2016-03-04 14:03:45 -08:00
|
|
|
android:popupTheme="?actionBarPopupTheme"
|
2016-03-04 16:10:12 -08:00
|
|
|
android:background="@android:color/transparent"
|
2015-09-30 10:00:10 -07:00
|
|
|
android:overlapAnchor="true" />
|
|
|
|
|
2016-02-03 11:15:57 -08:00
|
|
|
</com.android.documentsui.DocumentsToolbar>
|
2015-09-30 10:00:10 -07:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="horizontal"
|
2015-11-10 21:02:47 -08:00
|
|
|
android:baselineAligned="false">
|
2015-09-30 10:00:10 -07:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/container_roots"
|
|
|
|
android:layout_width="256dp"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
<include layout="@layout/directory_cluster"
|
|
|
|
android:layout_width="0dp"
|
2015-11-10 21:02:47 -08:00
|
|
|
android:elevation="8dp" />
|
2015-09-30 10:00:10 -07:00
|
|
|
|
|
|
|
</LinearLayout>
|
2015-08-20 16:48:49 -07:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2015-09-30 10:00:10 -07:00
|
|
|
</android.support.design.widget.CoordinatorLayout>
|