2018-10-28 21:18:14 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-05-29 16:29:02 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-10-28 21:18:14 +03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2019-05-17 18:07:02 +03:00
|
|
|
android:layout_height="match_parent"
|
2018-10-28 21:18:14 +03:00
|
|
|
android:padding="8dp"
|
|
|
|
tools:parentTag="android.widget.FrameLayout">
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-17 18:07:02 +03:00
|
|
|
android:layout_gravity="center" />
|
2018-10-28 21:18:14 +03:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/errorView"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:layout_width="wrap_content"
|
2018-10-28 21:18:14 +03:00
|
|
|
android:layout_height="wrap_content"
|
2019-05-17 18:07:02 +03:00
|
|
|
android:layout_gravity="center"
|
2018-10-28 21:18:14 +03:00
|
|
|
android:orientation="vertical"
|
2020-11-26 15:27:10 +03:00
|
|
|
android:padding="@dimen/layout_horizontal_margin"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
2018-10-28 21:18:14 +03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/errorMessageView"
|
2021-06-16 12:59:08 +03:00
|
|
|
style="@style/Widget.Vector.TextView.Subtitle"
|
2018-10-28 21:18:14 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:textColor="?vctr_content_primary"
|
2018-10-28 21:18:14 +03:00
|
|
|
tools:text="Une erreur est survenue" />
|
|
|
|
|
2021-06-09 12:51:04 +03:00
|
|
|
<Button
|
2018-10-28 21:18:14 +03:00
|
|
|
android:id="@+id/errorRetryView"
|
2019-06-11 17:48:48 +03:00
|
|
|
android:layout_width="wrap_content"
|
2018-10-28 21:18:14 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginTop="8dp"
|
2019-06-11 17:48:48 +03:00
|
|
|
android:minWidth="190dp"
|
2019-06-05 16:58:00 +03:00
|
|
|
android:text="@string/global_retry" />
|
2018-10-28 21:18:14 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-05-29 16:29:02 +03:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-10-28 21:18:14 +03:00
|
|
|
android:id="@+id/emptyView"
|
|
|
|
android:layout_width="match_parent"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:layout_height="match_parent"
|
2019-05-17 18:07:02 +03:00
|
|
|
android:layout_gravity="center"
|
2018-10-28 21:18:14 +03:00
|
|
|
android:orientation="vertical"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:padding="@dimen/layout_horizontal_margin">
|
2018-10-28 21:18:14 +03:00
|
|
|
|
2020-11-26 15:27:10 +03:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/emptyImageView"
|
2020-11-27 13:09:13 +03:00
|
|
|
style="@style/VectorEmptyImageView"
|
2020-11-26 15:27:10 +03:00
|
|
|
android:layout_width="match_parent"
|
2020-11-27 11:58:14 +03:00
|
|
|
android:layout_height="0dp"
|
2020-11-26 15:27:10 +03:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginEnd="20dp"
|
2020-11-27 13:50:54 +03:00
|
|
|
android:layout_marginBottom="30dp"
|
2021-02-12 19:44:12 +03:00
|
|
|
android:importantForAccessibility="no"
|
2020-11-27 11:58:14 +03:00
|
|
|
android:maxHeight="350dp"
|
2020-11-26 15:27:10 +03:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/emptyTitleView"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
|
|
tools:ignore="MissingPrefix"
|
2020-11-27 13:50:54 +03:00
|
|
|
tools:layout_constraintHeight_percent="0.5"
|
|
|
|
tools:src="@drawable/ic_search_no_results" />
|
2020-11-26 15:27:10 +03:00
|
|
|
|
2018-10-28 21:18:14 +03:00
|
|
|
<TextView
|
2019-05-17 18:07:02 +03:00
|
|
|
android:id="@+id/emptyTitleView"
|
2021-06-16 12:59:08 +03:00
|
|
|
style="@style/Widget.Vector.TextView.Subtitle"
|
2018-10-28 21:18:14 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:layout_gravity="center_horizontal"
|
2018-10-28 21:18:14 +03:00
|
|
|
android:gravity="center"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:textColor="?vctr_content_primary"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:textStyle="bold"
|
2020-11-26 15:27:10 +03:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/emptyMessageView"
|
2019-05-29 16:29:02 +03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-11-26 15:27:10 +03:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/emptyImageView"
|
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
|
|
tools:text="@string/room_list_people_empty_title" />
|
2018-10-28 21:18:14 +03:00
|
|
|
|
2019-05-17 18:07:02 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/emptyMessageView"
|
2021-06-16 12:59:08 +03:00
|
|
|
style="@style/Widget.Vector.TextView.Body"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:layout_width="220dp"
|
2018-10-28 21:18:14 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-11-26 15:27:10 +03:00
|
|
|
android:layout_marginTop="20dp"
|
2019-05-17 18:07:02 +03:00
|
|
|
android:gravity="center"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:textColor="?vctr_content_secondary"
|
2020-11-26 15:27:10 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2019-05-29 16:29:02 +03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-12-02 00:13:21 +03:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/emptyTitleView"
|
2020-11-26 15:27:10 +03:00
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
|
|
tools:text="@string/room_list_people_empty_body" />
|
2018-10-28 21:18:14 +03:00
|
|
|
|
2019-05-29 16:29:02 +03:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-10-28 21:18:14 +03:00
|
|
|
|
|
|
|
</merge>
|