2022-03-02 14:20:49 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-08-09 13:29:04 -03:00
|
|
|
tools:viewBindingIgnore="true"
|
2022-03-02 14:20:49 -04:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:parentTag="android.widget.FrameLayout">
|
|
|
|
|
2022-04-14 16:51:52 -03:00
|
|
|
<ImageView
|
2022-03-02 14:20:49 -04:00
|
|
|
android:id="@+id/background"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/core_grey_80"
|
2022-04-14 16:51:52 -03:00
|
|
|
android:importantForAccessibility="no"
|
2022-03-02 14:20:49 -04:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2022-04-14 16:51:52 -03:00
|
|
|
<com.google.android.material.imageview.ShapeableImageView
|
|
|
|
android:id="@+id/stories_error_background"
|
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
app:shapeAppearance="@style/ShapeAppearanceOverlay.Signal.Circle"
|
|
|
|
app:srcCompat="@color/transparent_black_50" />
|
|
|
|
|
2022-03-02 14:20:49 -04:00
|
|
|
<com.google.android.material.progressindicator.CircularProgressIndicator
|
|
|
|
android:id="@+id/loading_spinner"
|
2022-04-14 16:51:52 -03:00
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
2022-03-02 14:20:49 -04:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:indicatorColor="@color/core_grey_05"
|
|
|
|
app:indicatorInset="0dp"
|
2022-04-14 16:51:52 -03:00
|
|
|
app:indicatorSize="36dp"
|
2022-03-02 14:20:49 -04:00
|
|
|
app:trackColor="@color/transparent"
|
2022-04-14 16:51:52 -03:00
|
|
|
app:trackThickness="2dp"
|
2022-03-02 14:20:49 -04:00
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2022-04-14 16:51:52 -03:00
|
|
|
<ImageView
|
2022-03-02 14:20:49 -04:00
|
|
|
android:id="@+id/error_circle"
|
2022-04-14 16:51:52 -03:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
2022-03-02 14:20:49 -04:00
|
|
|
android:layout_gravity="center"
|
2022-04-14 16:51:52 -03:00
|
|
|
android:scaleType="centerInside"
|
2022-03-02 14:20:49 -04:00
|
|
|
android:visibility="gone"
|
2022-04-14 16:51:52 -03:00
|
|
|
app:srcCompat="@drawable/ic_arrow_down_24"
|
|
|
|
app:tint="@color/core_white"
|
2022-03-02 14:20:49 -04:00
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/unavailable"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:alpha="0.6"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingHorizontal="46dp"
|
|
|
|
android:text="@string/StorySlateView__this_story_is_no_longer_available"
|
|
|
|
android:textAppearance="@style/TextAppearance.Signal.Body2"
|
|
|
|
android:textColor="@color/core_grey_05"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/error_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginTop="68dp"
|
|
|
|
android:background="@drawable/stories_slate_view_error_message_background"
|
|
|
|
android:drawablePadding="13dp"
|
|
|
|
android:paddingHorizontal="13dp"
|
|
|
|
android:paddingTop="13dp"
|
|
|
|
android:paddingBottom="13dp"
|
|
|
|
android:textAppearance="@style/Signal.Text.Body"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:drawableStartCompat="@drawable/ic_error_outline_24"
|
|
|
|
app:drawableTint="@color/core_white"
|
|
|
|
tools:text="@string/StorySlateView__couldnt_load_content"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
</merge>
|