Tablet fixes. Goal is to get tapping on a file to display its details.
[pub/Android/ownCloud.git] / res / layout-large-land / files.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2011 Bartek Przybylski
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="fill_parent"
21 android:layout_height="fill_parent"
22 android:orientation="horizontal" >
23
24 <LinearLayout
25 android:id="@+id/file_list_container"
26 android:layout_width="0dp"
27 android:layout_height="wrap_content"
28 android:layout_weight="1" >
29
30 <fragment
31 android:id="@+id/fileList"
32 android:layout_width="fill_parent"
33 android:layout_height="fill_parent"
34 class="eu.alefzero.owncloud.ui.fragment.FileListFragment" >
35
36 <!-- Preview: layout=@layout/list_layout -->
37 </fragment>
38 </LinearLayout>
39
40 <LinearLayout android:id="@+id/file_details_container"
41 android:layout_width="0dp"
42 android:layout_height="wrap_content"
43 android:layout_weight="2" >
44
45 <fragment
46 android:id="@+id/fileDetail"
47 android:layout_width="fill_parent"
48 android:layout_height="fill_parent"
49 class="eu.alefzero.owncloud.ui.fragment.FileDetailFragment" >
50
51 <!-- Preview: layout=@layout/file_details_empty -->
52 </fragment>
53 </LinearLayout>
54
55 </LinearLayout>