mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-12-17 06:01:58 +03:00
5310ed3f3d
Co-authored-by: Tim Krüger <t@timkrueger.me> Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
73 lines
3.1 KiB
XML
73 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Nextcloud Talk application
|
|
~
|
|
~ @author Tim Krüger
|
|
~ @author Andy Scherzinger
|
|
~ Copyright (C) 2022 Tim Krüger <t@timkrueger.me>
|
|
~ Copyright (C) 2022 Andy Scherzinger <info@andy-scherzinger.de>
|
|
~
|
|
~ 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/>.
|
|
-->
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
|
|
android:background="@color/bg_default"
|
|
tools:context=".shareditems.activities.SharedItemsActivity">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/shared_items_appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<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" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<include
|
|
android:id="@+id/emptyContainer"
|
|
layout="@layout/empty_list"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/image_recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
tools:listitem="@layout/shared_item_grid" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|