2018-07-11 15:57:02 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
Nextcloud Android client application
|
|
|
|
|
|
|
|
@author Tobias Kaminsky
|
|
|
|
Copyright (C) 2018 Tobias Kaminsky
|
|
|
|
Copyright (C) 2018 Nextcloud GmbH.
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
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 <https://www.gnu.org/licenses/>.
|
|
|
|
-->
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-11 15:57:02 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/drawer_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clickable="true"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
android:focusable="true">
|
|
|
|
|
|
|
|
<!-- The main content view -->
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/thumbnail"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/file_icon"
|
|
|
|
app:srcCompat="@drawable/file"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/filename"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:text="@string/placeholder_filename"
|
|
|
|
android:textColor="@color/black"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold"/>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressBar2"
|
|
|
|
style="?android:attr/progressBarStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/standard_margin"
|
|
|
|
android:indeterminate="true"/>
|
|
|
|
|
|
|
|
<WebView
|
|
|
|
android:id="@+id/webView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<include
|
|
|
|
layout="@layout/drawer"
|
|
|
|
android:layout_width="@dimen/drawer_width"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|