Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.8 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".ActivityView">
  8. <androidx.recyclerview.widget.RecyclerView
  9. android:id="@+id/rvAccount"
  10. android:layout_width="0dp"
  11. android:layout_height="0dp"
  12. android:scrollbarStyle="outsideOverlay"
  13. android:scrollbars="vertical"
  14. app:layout_constraintBottom_toBottomOf="parent"
  15. app:layout_constraintEnd_toEndOf="parent"
  16. app:layout_constraintStart_toStartOf="parent"
  17. app:layout_constraintTop_toTopOf="parent" />
  18. <ProgressBar
  19. android:id="@+id/pbWait"
  20. style="@style/Base.Widget.AppCompat.ProgressBar"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:indeterminate="true"
  24. app:layout_constraintBottom_toBottomOf="parent"
  25. app:layout_constraintEnd_toEndOf="parent"
  26. app:layout_constraintStart_toStartOf="parent"
  27. app:layout_constraintTop_toTopOf="parent" />
  28. <androidx.constraintlayout.widget.Group
  29. android:id="@+id/grpReady"
  30. android:layout_width="0dp"
  31. android:layout_height="0dp"
  32. app:constraint_referenced_ids="rvAccount" />
  33. <TextView
  34. android:id="@+id/tvNoAccounts"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:gravity="center_vertical"
  38. android:minHeight="33dp"
  39. android:alpha = "0.8"
  40. android:layout_marginEnd="@dimen/layout_margin"
  41. android:layout_marginStart="@dimen/layout_margin"
  42. android:text="@string/title_no_accounts_yet"
  43. android:textAppearance="@style/TextAppearance.AppCompat.Medium"
  44. android:textColor="?android:attr/textColorPrimary"
  45. app:layout_constraintBottom_toBottomOf="parent"
  46. app:layout_constraintEnd_toEndOf="parent"
  47. app:layout_constraintStart_toStartOf="parent"
  48. app:layout_constraintTop_toTopOf="parent" />
  49. <com.google.android.material.floatingactionbutton.FloatingActionButton
  50. android:id="@+id/fab"
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:layout_gravity="end|bottom"
  54. android:layout_margin="16dp"
  55. android:src="@drawable/baseline_add_24"
  56. android:tint="@color/colorActionForeground"
  57. app:backgroundTint="?attr/colorAccent"
  58. app:layout_constraintBottom_toBottomOf="parent"
  59. app:layout_constraintEnd_toEndOf="parent" />
  60. </androidx.constraintlayout.widget.ConstraintLayout>