NewPipe/app/src/main/res/layout/error_retry.xml

33 lines
1.1 KiB
XML
Raw Normal View History

2017-04-26 19:24:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-10-09 18:24:02 +00:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2017-04-26 19:24:33 +00:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
2020-10-09 18:24:02 +00:00
android:orientation="vertical"
android:padding="16dp">
2017-04-26 19:24:33 +00:00
<TextView
android:id="@+id/error_message_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
2020-10-09 18:24:02 +00:00
android:text="@string/general_error"
2017-04-26 19:24:33 +00:00
android:textSize="16sp"
android:textStyle="bold"
2020-10-09 18:24:02 +00:00
tools:text="Network error" />
2017-04-26 19:24:33 +00:00
<Button
android:id="@+id/error_button_retry"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="@string/retry"
android:textAlignment="center"
android:textAllCaps="true"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textSize="16sp"
2020-10-09 18:24:02 +00:00
android:theme="@style/ServiceColoredButton" />
2017-04-26 19:24:33 +00:00
2020-10-09 18:24:02 +00:00
</LinearLayout>