files.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ownCloud Android client application
  4. Copyright (C) 2012 Bartek Przybylski
  5. Copyright (C) 2015 ownCloud Inc.
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License version 2,
  8. as published by the Free Software Foundation.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. -->
  16. <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
  17. xmlns:app="http://schemas.android.com/apk/res-auto"
  18. android:id="@+id/drawer_layout"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. android:fitsSystemWindows="true"
  22. android:clickable="true" >
  23. <!-- The main content view -->
  24. <LinearLayout
  25. android:layout_width="match_parent"
  26. android:layout_height="match_parent"
  27. android:orientation="vertical">
  28. <include
  29. layout="@layout/toolbar_standard" />
  30. <LinearLayout
  31. xmlns:android="http://schemas.android.com/apk/res/android"
  32. android:layout_width="match_parent"
  33. android:layout_height="match_parent"
  34. android:background="@color/background_color"
  35. android:orientation="horizontal"
  36. android:id="@+id/ListLayout"
  37. android:contentDescription="@string/list_layout"
  38. >
  39. <FrameLayout
  40. android:id="@+id/left_fragment_container"
  41. android:layout_width="0dp"
  42. android:layout_height="match_parent"
  43. android:layout_weight="1" />
  44. <FrameLayout
  45. android:id="@+id/right_fragment_container"
  46. android:layout_width="0dp"
  47. android:layout_height="match_parent"
  48. android:layout_weight="2" />
  49. </LinearLayout>
  50. </LinearLayout>
  51. <include
  52. layout="@layout/drawer"
  53. android:layout_width="240dp"
  54. android:layout_height="match_parent"
  55. android:layout_gravity="start"/>
  56. </android.support.v4.widget.DrawerLayout>