FairEmail/app/src/main/res/layout/fragment_messages.xml

75 lines
3.2 KiB
XML
Raw Normal View History

2018-08-02 13:33:06 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-08-08 06:55:47 +00:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-02 13:33:06 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ActivityView">
<TextView
android:id="@+id/tvNoEmail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_no_messages"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
2018-08-03 04:54:51 +00:00
app:layout_constraintBottom_toBottomOf="parent"
2018-08-02 13:33:06 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2018-08-03 04:54:51 +00:00
app:layout_constraintTop_toTopOf="parent" />
2018-08-02 13:33:06 +00:00
2018-08-08 06:55:47 +00:00
<androidx.recyclerview.widget.RecyclerView
2018-08-02 13:33:06 +00:00
android:id="@+id/rvFolder"
2018-08-03 04:54:51 +00:00
android:layout_width="0dp"
android:layout_height="0dp"
2018-08-02 13:33:06 +00:00
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
2018-08-14 20:40:09 +00:00
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation"
2018-08-02 13:33:06 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2018-08-03 04:54:51 +00:00
app:layout_constraintTop_toTopOf="parent" />
2018-08-02 13:33:06 +00:00
2018-08-14 20:40:09 +00:00
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:background="@color/colorPrimary"
android:visibility="gone"
app:itemIconTint="@color/bottomnav_background"
app:itemTextColor="@color/bottomnav_background"
app:labelVisibilityMode="labeled"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:menu="@menu/action_list_bottom" />
2018-08-02 13:33:06 +00:00
<ProgressBar
android:id="@+id/pbWait"
style="@style/Base.Widget.AppCompat.ProgressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true"
2018-08-03 04:54:51 +00:00
app:layout_constraintBottom_toBottomOf="parent"
2018-08-02 13:33:06 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2018-08-03 04:54:51 +00:00
app:layout_constraintTop_toTopOf="parent" />
2018-08-02 13:33:06 +00:00
2018-08-08 06:55:47 +00:00
<androidx.constraintlayout.widget.Group
2018-08-02 13:33:06 +00:00
android:id="@+id/grpReady"
android:layout_width="0dp"
android:layout_height="0dp"
app:constraint_referenced_ids="rvFolder" />
2018-08-08 06:55:47 +00:00
<com.google.android.material.floatingactionbutton.FloatingActionButton
2018-08-02 13:33:06 +00:00
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end|bottom"
android:layout_margin="16dp"
android:src="@drawable/baseline_edit_24"
android:tint="@color/colorActionForeground"
app:backgroundTint="?attr/colorAccent"
2018-08-14 20:40:09 +00:00
app:layout_constraintBottom_toBottomOf="@+id/rvFolder"
2018-08-02 13:33:06 +00:00
app:layout_constraintEnd_toEndOf="parent" />
2018-08-08 06:55:47 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>