46 lines
1.8 KiB
XML
46 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright 2023 Tusky Contributors
|
|
~
|
|
~ This file is a part of Tusky.
|
|
~
|
|
~ This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
~ GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
~ License, or (at your option) any later version.
|
|
~
|
|
~ Tusky is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
~ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
~ Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License along with Tusky; if not,
|
|
~ see <http://www.gnu.org/licenses>.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="8dp">
|
|
<androidx.core.widget.ContentLoadingProgressBar
|
|
android:id="@+id/progress_bar"
|
|
style="?android:attr/progressBarStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:id="@+id/error_msg"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:textAlignment="center"
|
|
tools:text="@string/socket_timeout_exception"/>
|
|
<Button
|
|
android:id="@+id/retry_button"
|
|
style="@style/TuskyButton.Outlined"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="@string/action_retry"/>
|
|
</LinearLayout>
|