aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_footer_error.xml
blob: bd65360420e2d54a9c9ed7a372fdd8f592678d7c (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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/relative_layout_footer_progress_bar_item"
    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:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentStart="true"
        android:layout_centerVertical="true"
        android:layout_toStartOf="@id/retry_button_footer_progress_bar_item"
        android:text="@string/load_data_failed"
        android:textSize="18sp" />

    <Button
        android:id="@+id/retry_button_footer_progress_bar_item"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_centerVertical="true"
        android:text="@string/retry" />

</RelativeLayout>