2018-03-03 01:10:13 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-03-03 01:10:13 +01: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"
|
|
|
|
tools:context="net.schueller.peertube.activity.VideoListActivity">
|
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2018-03-03 02:46:01 +01:00
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-23 16:42:01 +01:00
|
|
|
android:orientation="vertical">
|
2018-12-21 21:59:10 +01:00
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
<androidx.appcompat.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-03-03 02:46:01 +01:00
|
|
|
android:id="@+id/tool_bar"
|
2018-12-21 21:59:10 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
|
|
android:elevation="4dp" />
|
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2018-03-03 02:46:01 +01:00
|
|
|
|
2018-12-02 17:28:18 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/empty_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:text="@string/no_data_available" />
|
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
2018-03-03 23:08:18 +01:00
|
|
|
android:id="@+id/swipeRefreshLayout"
|
2018-03-03 01:10:13 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-03-03 02:46:01 +01:00
|
|
|
android:layout_height="match_parent"
|
2018-03-03 23:08:18 +01:00
|
|
|
android:layout_above="@+id/navigation"
|
|
|
|
android:layout_below="@+id/appbar"
|
|
|
|
android:layout_weight="1"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2018-03-03 23:08:18 +01:00
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
>
|
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
</androidx.recyclerview.widget.RecyclerView>
|
2018-03-03 23:08:18 +01:00
|
|
|
|
2018-12-02 17:28:18 +01:00
|
|
|
|
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2018-03-03 23:08:18 +01:00
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
2018-03-03 23:08:18 +01:00
|
|
|
android:id="@+id/navigation"
|
2018-11-10 17:48:09 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-03-03 23:08:18 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="0dp"
|
|
|
|
android:layout_marginStart="0dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
2018-11-10 22:40:27 +01:00
|
|
|
android:layout_gravity="bottom"
|
2019-01-06 15:22:14 +01:00
|
|
|
app:menu="@menu/menu_bottom_video_list"
|
2018-11-10 22:40:27 +01:00
|
|
|
android:background="?android:attr/windowBackground"
|
|
|
|
/>
|
2018-03-03 23:08:18 +01:00
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|