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"
2020-12-11 13:55:47 +00:00
android:layout_width="wrap_content"
2017-04-26 19:24:33 +00:00
android:layout_height="wrap_content"
2017-06-15 14:26:48 +00:00
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
2021-09-04 17:32:38 +00:00
<org.schabi.newpipe.views.NewPipeTextView
2017-04-26 19:24:33 +00:00
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"
2021-03-31 20:46:52 +00:00
tools:text="Account terminated" />
2021-09-04 17:32:38 +00:00
<org.schabi.newpipe.views.NewPipeTextView
2021-03-31 20:46:52 +00:00
android:id="@+id/error_message_service_info_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
2021-08-28 15:05:12 +00:00
android:gravity="center"
2021-03-31 20:46:52 +00:00
android:text="@string/general_error"
android:textSize="16sp"
2021-08-28 15:05:12 +00:00
android:visibility="gone"
tools:text="YouTube provides this reason:"
tools:visibility="visible" />
2021-03-31 20:46:52 +00:00
2021-09-04 17:32:38 +00:00
<org.schabi.newpipe.views.NewPipeTextView
2021-08-28 15:05:12 +00:00
android:id="@+id/error_message_service_explanation_view"
2021-03-31 20:46:52 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginTop="4dp"
android:text="@string/general_error"
android:textSize="16sp"
android:textStyle="italic"
2021-08-28 15:05:12 +00:00
android:visibility="gone"
tools:text="This account has been terminated because we received multiple third-party claims of copyright infringement regarding material that the user posted."
tools:visibility="visible" />
2021-03-31 20:46:52 +00:00
2017-04-26 19:24:33 +00:00
2020-12-11 13:55:47 +00:00
<Button
2021-08-28 15:05:12 +00:00
android:id="@+id/error_action_button"
2020-12-11 13:55:47 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/error_snackbar_action"
android:textAlignment="center"
android:textAllCaps="true"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textSize="16sp"
2021-08-28 15:05:12 +00:00
android:theme="@style/ServiceColoredButton"
android:visibility="gone"
tools:visibility="visible" />
2020-12-11 13:55:47 +00:00
2017-04-26 19:24:33 +00:00
<Button
2021-08-28 15:05:12 +00:00
android:id="@+id/error_retry_button"
2017-04-26 19:24:33 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-12-11 13:55:47 +00:00
android:layout_marginTop="4dp"
android:layout_marginBottom="8dp"
2017-04-26 19:24:33 +00:00
android:text="@string/retry"
android:textAlignment="center"
android:textAllCaps="true"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textSize="16sp"
2021-08-28 15:05:12 +00:00
android:theme="@style/ServiceColoredButton"
android:visibility="gone"
tools:visibility="visible" />
2017-04-26 19:24:33 +00:00
2020-10-09 18:24:02 +00:00
</LinearLayout>