blob: c8c707ec1f0ea58980f4e97e3fe42f25c282e168 [file] [log] [blame]
Jeff Sharkey09c10bf2013-06-30 20:02:59 -07001<?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
Jeff Sharkeyc8ae7a52013-09-18 16:26:49 -070017<com.android.documentsui.DirectoryView xmlns:android="http://schemas.android.com/apk/res/android"
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070018 android:layout_width="match_parent"
Jeff Sharkeyc8ae7a52013-09-18 16:26:49 -070019 android:layout_height="match_parent"
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070020 android:background="@*android:color/material_grey_50">
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070021
Jeff Sharkeyc6cbdf12013-08-07 16:22:02 -070022 <TextView
23 android:id="@android:id/empty"
24 android:layout_width="match_parent"
25 android:layout_height="match_parent"
26 android:gravity="center"
27 android:text="@string/empty"
Jeff Sharkey5e1884d2013-09-10 17:56:39 -070028 android:visibility="gone"
Jeff Sharkey67bf49d2014-08-05 10:14:45 -070029 style="@android:style/TextAppearance.Material.Subhead" />
Jeff Sharkeyc6cbdf12013-08-07 16:22:02 -070030
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070031 <ListView
32 android:id="@+id/list"
33 android:layout_width="match_parent"
Jeff Sharkey083d7e12014-07-27 21:01:45 -070034 android:layout_height="match_parent" />
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070035
36 <GridView
37 android:id="@+id/grid"
38 android:layout_width="match_parent"
39 android:layout_height="match_parent"
Jeff Sharkeydb884f52013-09-21 15:11:19 -070040 android:paddingStart="@dimen/grid_padding_horiz"
41 android:paddingEnd="@dimen/grid_padding_horiz"
Jeff Sharkey083d7e12014-07-27 21:01:45 -070042 android:paddingTop="@dimen/grid_padding_vert"
43 android:paddingBottom="@dimen/grid_padding_vert"
44 android:horizontalSpacing="@dimen/grid_item_padding"
45 android:verticalSpacing="@dimen/grid_item_padding"
Jeff Sharkey38ec2522013-09-24 12:07:12 -070046 android:clipToPadding="false"
Jeff Sharkeydb884f52013-09-21 15:11:19 -070047 android:scrollbarStyle="outsideOverlay"
Jeff Sharkey083d7e12014-07-27 21:01:45 -070048 android:drawSelectorOnTop="true"
Jeff Sharkeyc6cbdf12013-08-07 16:22:02 -070049 android:visibility="gone" />
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070050
Jeff Sharkeyc8ae7a52013-09-18 16:26:49 -070051</com.android.documentsui.DirectoryView>