Merge branch 'develop' into feature_previews
[pub/Android/ownCloud.git] / res / layout / list_fragment.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012 Bartek Przybylski
6 Copyright (C) 2012-2013 ownCloud Inc.
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 -->
21 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 android:layout_width="fill_parent"
23 android:layout_height="fill_parent"
24 android:orientation="vertical" >
25
26 <com.owncloud.android.ui.ExtendedListView
27 android:id="@+id/list_root"
28 android:layout_width="match_parent"
29 android:layout_height="0dip"
30 android:layout_weight="1"
31 />
32
33 <TextView
34 android:id="@+id/empty_list_view"
35 android:layout_width="match_parent"
36 android:layout_height="match_parent"
37 android:gravity="center_vertical|center_horizontal"
38 android:text="@string/file_list_empty"
39 android:visibility="gone"
40 />
41
42 </LinearLayout>