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"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:padding="@dimen/layout_horizontal_margin">
|
2018-10-28 21:18:14 +03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/errorMessageView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textColor="@android:color/black"
|
|
|
|
android:textSize="16sp"
|
|
|
|
tools:text="Une erreur est survenue" />
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/errorRetryView"
|
|
|
|
android:layout_width="190dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:text="@string/global_retry"
|
|
|
|
android:textColor="@android:color/white" />
|
|
|
|
|
|
|
|
</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
|
|
|
|
|
|
|
<TextView
|
2019-05-17 18:07:02 +03:00
|
|
|
android:id="@+id/emptyTitleView"
|
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"
|
|
|
|
android:layout_marginBottom="49dp"
|
2018-10-28 21:18:14 +03:00
|
|
|
android:gravity="center"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:textColor="#2E2F32"
|
|
|
|
android:textSize="15sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/emptyImageView"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
tools:text="@string/room_list_catchup_empty_title" />
|
2018-10-28 21:18:14 +03:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/emptyImageView"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:layout_width="64dp"
|
|
|
|
android:layout_height="64dp"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:src="@drawable/ic_noun_party_popper" />
|
2019-05-17 18:07:02 +03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/emptyMessageView"
|
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"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:layout_marginTop="49dp"
|
2019-05-17 18:07:02 +03:00
|
|
|
android:gravity="center"
|
2019-05-29 16:29:02 +03:00
|
|
|
android:textColor="#7E899C"
|
|
|
|
android:textSize="14sp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/emptyImageView"
|
|
|
|
tools:text="@string/room_list_catchup_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>
|