<?xml version="1.0" encoding="utf-8"?> <!-- ownCloud Android client application Copyright (C) 2015 ownCloud Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. --> <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:clickable="true" > <com.ortiz.touch.ExtendedViewPager android:id="@+id/fragmentPager" android:layout_width="match_parent" android:layout_height="match_parent" /> <include layout="@layout/drawer" android:layout_width="240dp" android:layout_height="match_parent" android:layout_gravity="start"/> <!-- LinearLayout android:id="@+id/fragment" android:layout_width="match_parent" android:layout_height="match_parent" > <!- - Preview: layout=@layout/preview_image_fragment - -> </LinearLayout --> </android.support.v4.widget.DrawerLayout>