|
@ -6,163 +6,169 @@ |
|
|
android:layout_height="match_parent" |
|
|
android:layout_height="match_parent" |
|
|
tools:context=".ActivityView"> |
|
|
tools:context=".ActivityView"> |
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
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_toBottomOf="parent" |
|
|
|
|
|
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_toBottomOf="parent" |
|
|
|
|
|
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_height="match_parent" |
|
|
|
|
|
android:layout_above="@+id/multiple"> |
|
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
android:layout_width="match_parent" |
|
|
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> |
|
|
|
|
|
|
|
|
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> |
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton |
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton |
|
|
android:id="@+id/fab" |
|
|
android:id="@+id/fab" |
|
@ -172,7 +178,16 @@ |
|
|
android:layout_margin="16dp" |
|
|
android:layout_margin="16dp" |
|
|
android:src="@drawable/baseline_edit_24" |
|
|
android:src="@drawable/baseline_edit_24" |
|
|
android:tint="@color/colorActionForeground" |
|
|
android:tint="@color/colorActionForeground" |
|
|
app:backgroundTint="?attr/colorAccent" |
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" /> |
|
|
|
|
|
|
|
|
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" /> |
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |