item_notifications_load_state_footer_view.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ~ Copyright 2023 Tusky Contributors
  4. ~
  5. ~ This file is a part of Tusky.
  6. ~
  7. ~ This program is free software; you can redistribute it and/or modify it under the terms of the
  8. ~ GNU General Public License as published by the Free Software Foundation; either version 3 of the
  9. ~ License, or (at your option) any later version.
  10. ~
  11. ~ Tusky is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
  12. ~ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
  13. ~ Public License for more details.
  14. ~
  15. ~ You should have received a copy of the GNU General Public License along with Tusky; if not,
  16. ~ see <http://www.gnu.org/licenses>.
  17. -->
  18. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  19. xmlns:tools="http://schemas.android.com/tools"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:orientation="vertical"
  23. android:padding="8dp">
  24. <androidx.core.widget.ContentLoadingProgressBar
  25. android:id="@+id/progress_bar"
  26. style="?android:attr/progressBarStyle"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content" />
  29. <TextView
  30. android:id="@+id/error_msg"
  31. android:textColor="?android:textColorPrimary"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:layout_gravity="center"
  35. android:textAlignment="center"
  36. tools:text="@string/socket_timeout_exception"/>
  37. <Button
  38. android:id="@+id/retry_button"
  39. style="@style/TuskyButton.Outlined"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_gravity="center"
  43. android:text="@string/action_retry"/>
  44. </LinearLayout>