2018-08-02 13:33:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-09-08 19:54:20 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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">
|
|
|
|
|
2018-10-24 12:38:51 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-09-08 19:54:20 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-10-24 12:38:51 +00:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2018-10-24 15:18:01 +00:00
|
|
|
<View
|
|
|
|
android:id="@+id/popupAnchor"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2018-10-24 12:38:51 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvSupport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:text="@string/title_pro_support"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorSupport"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSupport" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvHintSupport"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="33dp"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:text="@string/title_hint_support"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibHintSupport"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorSupport" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibHintSupport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/baseline_close_24"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvHintSupport"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvHintSupport" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorHintSupport"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/ibHintSupport" />
|
|
|
|
|
|
|
|
<TextView
|
2018-10-24 16:29:55 +00:00
|
|
|
android:id="@+id/tvHintSwipe"
|
2018-10-24 12:38:51 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="33dp"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:text="@string/title_hint_message_actions"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2018-10-24 16:29:55 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibHintSwipe"
|
2018-10-24 12:38:51 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorHintSupport" />
|
|
|
|
|
|
|
|
<ImageButton
|
2018-10-24 16:29:55 +00:00
|
|
|
android:id="@+id/ibHintSwipe"
|
2018-10-24 12:38:51 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/baseline_close_24"
|
2018-10-24 16:29:55 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvHintSwipe"
|
2018-10-24 12:38:51 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2018-10-24 16:29:55 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@id/tvHintSwipe" />
|
2018-10-24 12:38:51 +00:00
|
|
|
|
|
|
|
<View
|
2018-10-24 16:29:55 +00:00
|
|
|
android:id="@+id/vSeparatorHintSwipe"
|
2018-10-24 12:38:51 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-10-24 16:29:55 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvHintSwipe" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvHintSelect"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="33dp"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:text="@string/title_hint_message_selection"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2018-11-06 10:35:11 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibHintSelect"
|
2018-10-24 16:29:55 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorHintSwipe" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibHintSelect"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/baseline_close_24"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvHintSelect"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvHintSelect" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorHintSelect"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/ibHintSelect" />
|
2018-10-24 12:38:51 +00:00
|
|
|
|
|
|
|
<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"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-10-24 16:29:55 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorHintSelect" />
|
2018-10-24 12:38:51 +00:00
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/rvFolder"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:scrollbarStyle="outsideOverlay"
|
|
|
|
android:scrollbars="vertical"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-10-24 16:29:55 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorHintSelect" />
|
2018-10-24 12:38:51 +00:00
|
|
|
|
2018-11-05 09:03:02 +00:00
|
|
|
<ProgressBar
|
2018-10-24 12:38:51 +00:00
|
|
|
android:id="@+id/pbWait"
|
|
|
|
style="@style/Base.Widget.AppCompat.ProgressBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:indeterminate="true"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-10-24 16:29:55 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorHintSelect" />
|
2018-10-24 12:38:51 +00:00
|
|
|
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/bottom_navigation"
|
2018-10-20 14:42:03 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-11-06 13:59:17 +00:00
|
|
|
android:layout_height="36dp"
|
2018-10-24 12:38:51 +00:00
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:itemIconTint="@color/bottomnav_background"
|
|
|
|
app:itemTextColor="@color/bottomnav_background"
|
2018-11-06 13:47:56 +00:00
|
|
|
app:labelVisibilityMode="unlabeled"
|
2018-10-24 12:38:51 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:menu="@menu/action_messages" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpSupport"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="tvSupport,vSeparatorSupport" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpHintSupport"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="tvHintSupport,ibHintSupport,vSeparatorHintSupport" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
2018-10-24 16:29:55 +00:00
|
|
|
android:id="@+id/grpHintSwipe"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="tvHintSwipe,ibHintSwipe,vSeparatorHintSwipe" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpHintSelect"
|
2018-10-24 12:38:51 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2018-10-24 16:29:55 +00:00
|
|
|
app:constraint_referenced_ids="tvHintSelect,ibHintSelect,vSeparatorHintSelect" />
|
2018-10-24 12:38:51 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpReady"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="rvFolder" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2018-10-24 15:18:01 +00:00
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/fabMove"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:src="@drawable/baseline_folder_24"
|
|
|
|
android:tint="@color/colorActionForeground"
|
2018-10-25 06:31:44 +00:00
|
|
|
app:backgroundTint="?attr/colorSeparator" />
|
2018-10-24 15:18:01 +00:00
|
|
|
|
2018-11-09 09:44:04 +00:00
|
|
|
<View
|
|
|
|
android:id="@+id/fabAnchor"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="15dp"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
app:layout_anchor="@+id/fabMove"
|
|
|
|
app:layout_anchorGravity="bottom" />
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/fabDelete"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:src="@drawable/baseline_delete_24"
|
|
|
|
android:tint="@color/colorActionForeground"
|
|
|
|
app:backgroundTint="?attr/colorSeparator"
|
|
|
|
app:layout_anchor="@+id/fabAnchor"
|
|
|
|
app:layout_anchorGravity="bottom" />
|
|
|
|
|
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"
|
2018-10-24 12:06:04 +00:00
|
|
|
app:backgroundTint="?attr/colorAccent" />
|
2018-09-08 19:54:20 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|