aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_paging_3_load_state.xml
blob: 4256b33b4f18b699db84741edca832ad43083160 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <ProgressBar
        android:id="@+id/progress_bar_item_paging_3_load_state"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginTop="8dp"
        android:layout_marginBottom="16dp" />

    <RelativeLayout
        android:id="@+id/error_view_relative_layout_item_paging_3_load_state"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:layout_marginTop="8dp"
        android:layout_marginEnd="16dp"
        android:layout_marginBottom="16dp">

        <TextView
            android:id="@+id/error_text_view_item_paging_3_load_state"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentStart="true"
            android:layout_centerVertical="true"
            android:layout_toStartOf="@id/retry_button_item_paging_3_load_state"
            android:textSize="?attr/font_18"
            android:fontFamily="?attr/font_family" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/retry_button_item_paging_3_load_state"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true"
            android:layout_centerVertical="true"
            android:text="@string/retry"
            android:textSize="?attr/font_default"
            android:fontFamily="?attr/font_family" />

    </RelativeLayout>

</FrameLayout>