nextcloud-android/src/main/res/layout/richdocuments_webview.xml

79 lines
2.7 KiB
XML
Raw Normal View History

<?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/>.
-->
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
- unify icons - add svg, convert to android xml, removed png Signed-off-by: tobiasKaminsky <tobias@kaminsky.me> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> fix after rebase Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> renamed user -> ic_user (icon) make favorite mutable Signed-off-by: tobiasKaminsky <tobias@kaminsky.me> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> replace further png resources with xml drawables Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> fixes after rebase Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> allow for vector compat Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> add missing icon Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> add yet another missing icon Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> lint: When using VectorDrawableCompat, you need to use app:srcCompat Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> lint: When using VectorDrawableCompat, you need to use app:srcCompat Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> fix lint Signed-off-by: tobiasKaminsky <tobias@kaminsky.me> Drone: update Lint results to reflect reduced error/warning count [skip ci] Signed-off-by: nextcloud-android-bot <android@nextcloud.com> improve findbugs score Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> use correct icon for user account settings within drawer menu Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> icons needs to be grey600 by default, don't tint grey600 to not tint avatars Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> codacy: organize imports Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> programmatically set in-View drawables, in-view drawables can't be set via XML when supporting pre-lollipop Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> codacy: Useless parentheses & organize imports Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> organize imports Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> codacy: useless paranthesis Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> revert programmatically set do not use vectorDrawables.useSupportLibrary Signed-off-by: tobiasKaminsky <tobias@kaminsky.me> use 128dp for talk Signed-off-by: tobiasKaminsky <tobias@kaminsky.me> Revert "lint: When using VectorDrawableCompat, you need to use app:srcCompat" This reverts commit 80068e7d37f3a8c6b7096c51543bda68443e4341. Revert "lint: When using VectorDrawableCompat, you need to use app:srcCompat" This reverts commit 0130e9a96d2602ad4b5d33aae67f34a458366d70. revert srcCompat Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-07-03 15:33:26 +03:00
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"
- unify icons - add svg, convert to android xml, removed png Signed-off-by: tobiasKaminsky <tobias@kaminsky.me> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> fix after rebase Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> renamed user -> ic_user (icon) make favorite mutable Signed-off-by: tobiasKaminsky <tobias@kaminsky.me> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> replace further png resources with xml drawables Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> fixes after rebase Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> allow for vector compat Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> add missing icon Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> add yet another missing icon Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> lint: When using VectorDrawableCompat, you need to use app:srcCompat Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> lint: When using VectorDrawableCompat, you need to use app:srcCompat Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> fix lint Signed-off-by: tobiasKaminsky <tobias@kaminsky.me> Drone: update Lint results to reflect reduced error/warning count [skip ci] Signed-off-by: nextcloud-android-bot <android@nextcloud.com> improve findbugs score Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> use correct icon for user account settings within drawer menu Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> icons needs to be grey600 by default, don't tint grey600 to not tint avatars Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> codacy: organize imports Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> programmatically set in-View drawables, in-view drawables can't be set via XML when supporting pre-lollipop Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> codacy: Useless parentheses & organize imports Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> organize imports Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> codacy: useless paranthesis Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> revert programmatically set do not use vectorDrawables.useSupportLibrary Signed-off-by: tobiasKaminsky <tobias@kaminsky.me> use 128dp for talk Signed-off-by: tobiasKaminsky <tobias@kaminsky.me> Revert "lint: When using VectorDrawableCompat, you need to use app:srcCompat" This reverts commit 80068e7d37f3a8c6b7096c51543bda68443e4341. Revert "lint: When using VectorDrawableCompat, you need to use app:srcCompat" This reverts commit 0130e9a96d2602ad4b5d33aae67f34a458366d70. revert srcCompat Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-07-03 15:33:26 +03:00
android:src="@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/textColor"
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"/>
</androidx.drawerlayout.widget.DrawerLayout>