delete values-tzl
[pub/Android/ownCloud.git] / res / layout / files.xml
index e1be03b..649c863 100644 (file)
@@ -1,12 +1,13 @@
 <?xml version="1.0" encoding="utf-8"?>\r
-<!-- \r
+<!--\r
   ownCloud Android client application\r
 \r
   Copyright (C) 2012  Bartek Przybylski\r
+  Copyright (C) 2015 ownCloud Inc.\r
+\r
   This program is free software: you can redistribute it and/or modify\r
-  it under the terms of the GNU General Public License as published by\r
-  the Free Software Foundation, either version 3 of the License, or\r
-  (at your option) any later version.\r
+  it under the terms of the GNU General Public License version 2,\r
+  as published by the Free Software Foundation.\r
 \r
   This program is distributed in the hope that it will be useful,\r
   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
 \r
   You should have received a copy of the GNU General Public License\r
   along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
- -->\r
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
-    android:layout_width="fill_parent"\r
-    android:layout_height="fill_parent"\r
-    android:orientation="vertical" >\r
-\r
-    <fragment\r
-        android:id="@+id/fileList"\r
-        android:layout_width="fill_parent"\r
-        android:layout_height="fill_parent"\r
-        class="eu.alefzero.owncloud.ui.fragment.FileListFragment" >\r
-\r
-        <!-- Preview: layout=@layout/list_layout -->\r
-    </fragment>\r
-\r
-</LinearLayout>
\ No newline at end of file
+  -->\r
+<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
+    android:id="@+id/drawer_layout"\r
+    android:layout_width="match_parent"\r
+    android:layout_height="match_parent"\r
+    android:clickable="true" >\r
+\r
+    <!-- The main content view -->\r
+    <LinearLayout\r
+        xmlns:android="http://schemas.android.com/apk/res/android"\r
+        android:layout_width="match_parent"\r
+        android:layout_height="match_parent"\r
+        android:background="@color/background_color"\r
+        android:baselineAligned="false"\r
+        android:orientation="horizontal"\r
+        android:id="@+id/ListLayout"\r
+        android:contentDescription="@string/list_layout"\r
+        >\r
+\r
+\r
+        <FrameLayout\r
+            android:id="@+id/left_fragment_container"\r
+            android:layout_width="0dp"\r
+            android:layout_height="match_parent"\r
+            android:layout_weight="1" />\r
+\r
+        <FrameLayout\r
+            android:id="@+id/right_fragment_container"\r
+            android:layout_width="0dp"\r
+            android:layout_height="match_parent"\r
+            android:layout_weight="2" />\r
+    </LinearLayout>\r
+\r
+    <include\r
+        layout="@layout/drawer"\r
+        android:layout_width="240dp"\r
+        android:layout_height="match_parent"\r
+        android:layout_gravity="start"/>\r
+\r
+</android.support.v4.widget.DrawerLayout>\r