Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 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 | |
Jeff Sharkey | c8ae7a5 | 2013-09-18 16:26:49 -0700 | [diff] [blame] | 17 | <com.android.documentsui.DirectoryView xmlns:android="http://schemas.android.com/apk/res/android" |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 18 | android:layout_width="match_parent" |
Alan Viverette | a7b89ae | 2015-04-22 16:51:08 -0700 | [diff] [blame] | 19 | android:layout_height="match_parent"> |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 20 | |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 21 | <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 Sharkey | 5e1884d | 2013-09-10 17:56:39 -0700 | [diff] [blame] | 27 | android:visibility="gone" |
Jeff Sharkey | 67bf49d | 2014-08-05 10:14:45 -0700 | [diff] [blame] | 28 | style="@android:style/TextAppearance.Material.Subhead" /> |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 29 | |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 30 | <ListView |
| 31 | android:id="@+id/list" |
| 32 | android:layout_width="match_parent" |
Jeff Sharkey | 083d7e1 | 2014-07-27 21:01:45 -0700 | [diff] [blame] | 33 | android:layout_height="match_parent" /> |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 34 | |
| 35 | <GridView |
| 36 | android:id="@+id/grid" |
| 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="match_parent" |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 39 | android:paddingStart="@dimen/grid_padding_horiz" |
| 40 | android:paddingEnd="@dimen/grid_padding_horiz" |
Jeff Sharkey | 083d7e1 | 2014-07-27 21:01:45 -0700 | [diff] [blame] | 41 | 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 Sharkey | 38ec252 | 2013-09-24 12:07:12 -0700 | [diff] [blame] | 45 | android:clipToPadding="false" |
Jeff Sharkey | db884f5 | 2013-09-21 15:11:19 -0700 | [diff] [blame] | 46 | android:scrollbarStyle="outsideOverlay" |
Jeff Sharkey | 083d7e1 | 2014-07-27 21:01:45 -0700 | [diff] [blame] | 47 | android:drawSelectorOnTop="true" |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 48 | android:visibility="gone" /> |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 49 | |
Jeff Sharkey | c8ae7a5 | 2013-09-18 16:26:49 -0700 | [diff] [blame] | 50 | </com.android.documentsui.DirectoryView> |