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:06:04 +00:00
|
|
|
<FrameLayout
|
2018-09-08 19:54:20 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-10-24 12:06:04 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_above="@+id/multiple">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-10-20 14:42:03 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-10-24 12:06:04 +00:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<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
|
|
|
|
android:id="@+id/tvHintActions"
|
|
|
|
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"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibHintActions"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorHintSupport" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibHintActions"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/baseline_close_24"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvHintActions"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvHintActions" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorHintActions"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvHintActions" />
|
|
|
|
|
|
|
|
<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"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<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"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorHintActions" />
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
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"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/bottom_navigation"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="28dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:itemIconTint="@color/bottomnav_background"
|
|
|
|
app:itemTextColor="@color/bottomnav_background"
|
|
|
|
app:labelVisibilityMode="unlabeled"
|
|
|
|
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
|
|
|
|
android:id="@+id/grpHintActions"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="tvHintActions,ibHintActions,vSeparatorHintActions" />
|
|
|
|
|
|
|
|
<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>
|
|
|
|
</FrameLayout>
|
2018-08-02 13:33:06 +00:00
|
|
|
|
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" />
|
|
|
|
|
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/multiple"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
app:itemIconTint="@color/bottomnav_background"
|
|
|
|
app:itemTextColor="@color/bottomnav_background"
|
|
|
|
app:labelVisibilityMode="labeled"
|
|
|
|
app:menu="@menu/action_multiple" />
|
2018-09-08 19:54:20 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|