2022-04-28 18:09:26 +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-29 19:48:22 +03:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-04-05 18:05:27 +03:00
|
|
|
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-05-11 19:48:00 +03:00
|
|
|
tools:context=".shareditems.activities.SharedItemsActivity">
|
2022-04-05 18:05:27 +03:00
|
|
|
|
2022-04-29 19:48:22 +03:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/shared_items_appbar"
|
2022-04-27 13:38:21 +03:00
|
|
|
android:layout_width="match_parent"
|
2022-04-29 19:48:22 +03:00
|
|
|
android:layout_height="wrap_content">
|
2022-04-27 13:38:21 +03:00
|
|
|
|
2022-04-29 19:48:22 +03:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/shared_items_toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="@color/appbar"
|
|
|
|
android:theme="?attr/actionBarPopupTheme"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
|
|
app:navigationIconTint="@color/fontAppbar"
|
|
|
|
app:popupTheme="@style/appActionBarPopupMenu"
|
|
|
|
app:titleTextColor="@color/fontAppbar"
|
|
|
|
tools:title="@string/nc_app_product_name" />
|
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
android:id="@+id/shared_items_tabs"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/min_size_clickable_area"
|
|
|
|
android:background="@color/appbar"
|
|
|
|
app:tabGravity="fill"
|
|
|
|
app:tabMode="fixed"
|
|
|
|
app:tabMaxWidth="0dp"
|
|
|
|
app:tabTextAppearance="@style/TextAppearanceTab" />
|
2022-04-27 20:40:55 +03:00
|
|
|
|
2022-04-29 19:48:22 +03:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2022-04-28 18:09:26 +03:00
|
|
|
|
2022-05-20 16:24:53 +03:00
|
|
|
<include
|
|
|
|
android:id="@+id/emptyContainer"
|
|
|
|
layout="@layout/empty_list"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2022-04-28 18:09:26 +03:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/image_recycler"
|
2022-04-05 18:05:27 +03:00
|
|
|
android:layout_width="match_parent"
|
2022-04-29 19:48:22 +03:00
|
|
|
android:layout_height="match_parent"
|
2022-04-28 18:09:26 +03:00
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
2022-04-29 19:48:22 +03:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
2022-04-29 15:03:59 +03:00
|
|
|
tools:listitem="@layout/shared_item_grid" />
|
2022-04-05 18:05:27 +03:00
|
|
|
|
2022-04-29 19:48:22 +03:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|