blob: 2c08e72df12720040f6ad07141b788e11645c9f9 [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"
Alan Viverettea7b89ae2015-04-22 16:51:08 -070019 android:layout_height="match_parent">
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070020
Jeff Sharkeyc6cbdf12013-08-07 16:22:02 -070021 <TextView
22 android:id="@android:id/empty"
23 android:layout_width="match_parent"
24 android:layout_height="match_parent"
25 android:gravity="center"
26 android:text="@string/empty"
Jeff Sharkey5e1884d2013-09-10 17:56:39 -070027 android:visibility="gone"
Jeff Sharkey67bf49d2014-08-05 10:14:45 -070028 style="@android:style/TextAppearance.Material.Subhead" />
Jeff Sharkeyc6cbdf12013-08-07 16:22:02 -070029
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070030 <ListView
31 android:id="@+id/list"
32 android:layout_width="match_parent"
Jeff Sharkey083d7e12014-07-27 21:01:45 -070033 android:layout_height="match_parent" />
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070034
35 <GridView
36 android:id="@+id/grid"
37 android:layout_width="match_parent"
38 android:layout_height="match_parent"
Jeff Sharkeydb884f52013-09-21 15:11:19 -070039 android:paddingStart="@dimen/grid_padding_horiz"
40 android:paddingEnd="@dimen/grid_padding_horiz"
Jeff Sharkey083d7e12014-07-27 21:01:45 -070041 android:paddingTop="@dimen/grid_padding_vert"
42 android:paddingBottom="@dimen/grid_padding_vert"
43 android:horizontalSpacing="@dimen/grid_item_padding"
44 android:verticalSpacing="@dimen/grid_item_padding"
Jeff Sharkey38ec2522013-09-24 12:07:12 -070045 android:clipToPadding="false"
Jeff Sharkeydb884f52013-09-21 15:11:19 -070046 android:scrollbarStyle="outsideOverlay"
Jeff Sharkey083d7e12014-07-27 21:01:45 -070047 android:drawSelectorOnTop="true"
Jeff Sharkeyc6cbdf12013-08-07 16:22:02 -070048 android:visibility="gone" />
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070049
Jeff Sharkeyc8ae7a52013-09-18 16:26:49 -070050</com.android.documentsui.DirectoryView>