2020-04-01 19:38:21 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-10-31 11:21:56 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-04-01 19:38:21 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-10-31 11:21:56 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/coordinatorLayout"
|
2020-04-01 19:38:21 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2020-05-14 20:14:41 +02:00
|
|
|
|
2020-11-27 17:02:52 +01:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="visible"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2020-04-01 19:38:21 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipeRefreshLayout"
|
2020-10-31 11:21:56 +01:00
|
|
|
android:layout_width="wrap_content"
|
2020-04-01 19:38:21 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-11-02 13:28:27 +01:00
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2020-04-01 19:38:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-27 17:02:52 +01:00
|
|
|
<androidx.constraintlayout.motion.widget.MotionLayout
|
|
|
|
android:id="@+id/motionLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:visibility="visible"
|
|
|
|
app:layoutDescription="@xml/error_layout_xml_error_scene"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/followButton"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@id/errorLayout"
|
|
|
|
layout="@layout/error_layout"
|
|
|
|
tools:layout_editor_absoluteX="50dp" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/list"
|
|
|
|
android:visibility="visible"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/errorLayout"
|
|
|
|
app:layoutManager="LinearLayoutManager"
|
|
|
|
tools:listitem="@layout/post_fragment"/>
|
2020-10-31 11:21:56 +01:00
|
|
|
|
2020-11-27 17:02:52 +01:00
|
|
|
</androidx.constraintlayout.motion.widget.MotionLayout>
|
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2020-10-31 11:21:56 +01:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|