2022-04-05 18:05:27 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-04-27 13:38:21 +03:00
|
|
|
<!--
|
|
|
|
~ Nextcloud Talk application
|
|
|
|
~
|
|
|
|
~ @author Tim Krüger
|
2022-04-28 00:33:32 +03:00
|
|
|
~ @author Andy Scherzinger
|
2022-04-27 13:38:21 +03:00
|
|
|
~ Copyright (C) 2022 Tim Krüger <t@timkrueger.me>
|
2022-04-28 00:33:32 +03:00
|
|
|
~ Copyright (C) 2022 Andy Scherzinger <info@andy-scherzinger.de>
|
2022-04-27 13:38:21 +03:00
|
|
|
~
|
|
|
|
~ 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 <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
2022-04-05 18:05:27 +03:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-04-28 00:29:03 +03:00
|
|
|
android:background="@color/bg_default"
|
2022-04-05 18:05:27 +03:00
|
|
|
tools:context=".activities.SharedItemsActivity">
|
|
|
|
|
2022-04-27 13:38:21 +03:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/shared_items_toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
2022-04-28 00:25:06 +03:00
|
|
|
android:background="@color/appbar"
|
|
|
|
android:theme="?attr/actionBarPopupTheme"
|
|
|
|
app:layout_scrollFlags="enterAlwaysCollapsed|noScroll"
|
|
|
|
app:navigationIconTint="@color/fontAppbar"
|
|
|
|
app:popupTheme="@style/appActionBarPopupMenu"
|
|
|
|
app:titleTextColor="@color/fontAppbar"
|
|
|
|
tools:title="@string/nc_app_product_name"
|
2022-04-27 16:26:28 +03:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2022-04-27 13:38:21 +03:00
|
|
|
|
2022-04-27 20:40:55 +03:00
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
android:id="@+id/shared_items_tabs"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/min_size_clickable_area"
|
|
|
|
android:layout_marginBottom="8dp"
|
2022-04-28 00:33:32 +03:00
|
|
|
android:background="@color/appbar"
|
2022-04-27 20:40:55 +03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2022-04-28 00:33:32 +03:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/shared_items_toolbar"
|
2022-04-27 20:40:55 +03:00
|
|
|
app:tabGravity="fill"
|
|
|
|
app:tabMode="scrollable" />
|
|
|
|
|
2022-04-05 18:05:27 +03:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2022-04-27 20:40:55 +03:00
|
|
|
android:id="@+id/nestedScrollView"
|
2022-04-05 18:05:27 +03:00
|
|
|
android:layout_width="match_parent"
|
2022-04-27 13:38:21 +03:00
|
|
|
android:layout_height="wrap_content"
|
2022-04-27 20:40:55 +03:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/shared_items_tabs">
|
2022-04-05 18:05:27 +03:00
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/image_recycler"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
|
|
app:spanCount="4"
|
|
|
|
tools:listitem="@layout/attachment_item" />
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|