nextcloud-android/src/main/res/layout/files.xml
Joris Bodin 8c1c803b9d
Refactor and readd unnecessary id
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-06 16:47:30 +02:00

65 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?><!--
ownCloud Android client application
Copyright (C) 2012 Bartek Przybylski
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/>.
-->
<androidx.drawerlayout.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"
android:fitsSystemWindows="true">
<!-- The main content view -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/root_layout"
android:orientation="vertical">
<include layout="@layout/toolbar_standard" />
<LinearLayout
android:id="@+id/ListLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bg_default"
android:baselineAligned="false"
android:contentDescription="@string/list_layout"
android:orientation="horizontal">
<FrameLayout
android:id="@+id/left_fragment_container"
android:layout_width="@dimen/zero"
android:layout_height="match_parent"
android:layout_weight="1" />
<FrameLayout
android:id="@+id/right_fragment_container"
android:layout_width="@dimen/zero"
android:layout_height="match_parent"
android:layout_weight="2" />
</LinearLayout>
</LinearLayout>
<include
layout="@layout/drawer"
android:layout_width="@dimen/drawer_width"
android:layout_height="match_parent"
android:layout_gravity="start" />
</androidx.drawerlayout.widget.DrawerLayout>