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