2018-08-02 13:33:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-12-06 08:09:30 +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">
|
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipeRefresh"
|
2018-12-06 08:09:30 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-02-28 10:43:46 +00:00
|
|
|
android:layout_height="match_parent">
|
2018-09-08 16:32:13 +00:00
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2018-09-08 16:32:13 +00:00
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvHintActions"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
2019-09-06 17:32:11 +00:00
|
|
|
android:minHeight="36dp"
|
|
|
|
android:padding="6dp"
|
2019-02-28 10:43:46 +00:00
|
|
|
android:text="@string/title_hint_folder_actions"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibHintActions"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2018-09-08 16:32:13 +00:00
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibHintActions"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-04-18 12:34:09 +00:00
|
|
|
android:contentDescription="@string/title_legend_close_hint"
|
2019-02-28 10:43:46 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvHintActions"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-06-20 06:39:37 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@id/tvHintActions"
|
|
|
|
app:srcCompat="@drawable/baseline_close_24" />
|
2018-09-21 15:19:37 +00:00
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorActions"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvHintActions" />
|
2018-12-27 14:48:30 +00:00
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvHintSync"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
2019-09-06 17:32:11 +00:00
|
|
|
android:minHeight="36dp"
|
|
|
|
android:padding="6dp"
|
2019-02-28 10:43:46 +00:00
|
|
|
android:text="@string/title_hint_folder_sync"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibHintSync"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorActions" />
|
2018-12-27 14:48:30 +00:00
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/ibHintSync"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-04-18 12:34:09 +00:00
|
|
|
android:contentDescription="@string/title_legend_close_hint"
|
2019-02-28 10:43:46 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvHintSync"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-06-20 06:39:37 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@id/tvHintSync"
|
|
|
|
app:srcCompat="@drawable/baseline_close_24" />
|
2019-02-28 10:43:46 +00:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/vSeparatorSync"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvHintSync" />
|
2018-12-27 14:48:30 +00:00
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/rvFolder"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2019-05-08 06:59:57 +00:00
|
|
|
android:clipToPadding="false"
|
2019-08-16 16:48:43 +00:00
|
|
|
android:paddingTop="6dp"
|
2019-05-08 06:59:57 +00:00
|
|
|
android:paddingBottom="90dp"
|
2019-02-28 10:43:46 +00:00
|
|
|
android:scrollbarStyle="outsideOverlay"
|
|
|
|
android:scrollbars="vertical"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparatorSync" />
|
2018-12-06 08:09:30 +00:00
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<eu.faircode.email.ContentLoadingProgressBar
|
|
|
|
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" />
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpHintActions"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="tvHintActions,ibHintActions,vSeparatorActions" />
|
2018-12-27 14:48:30 +00:00
|
|
|
|
2019-02-28 10:43:46 +00:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpHintSync"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="tvHintSync,ibHintSync,vSeparatorSync" />
|
2018-09-08 16:32:13 +00:00
|
|
|
|
2019-02-28 10:43:46 +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>
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
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"
|
2019-05-08 06:59:57 +00:00
|
|
|
android:layout_gravity="end|bottom"
|
2018-11-13 10:05:01 +00:00
|
|
|
android:layout_margin="@dimen/fab_padding"
|
2019-09-09 17:35:59 +00:00
|
|
|
android:tint="?attr/colorFabForeground"
|
2019-01-13 13:56:39 +00:00
|
|
|
android:tooltipText="@string/title_add"
|
2019-09-09 17:35:59 +00:00
|
|
|
app:backgroundTint="?attr/colorFabBackground"
|
2019-06-20 06:39:37 +00:00
|
|
|
app:srcCompat="@drawable/baseline_create_new_folder_24" />
|
2019-05-05 09:45:41 +00:00
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/fabError"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-08 06:59:57 +00:00
|
|
|
android:layout_gravity="center_horizontal|bottom"
|
2019-05-05 09:45:41 +00:00
|
|
|
android:layout_margin="@dimen/fab_padding"
|
2019-09-09 17:35:59 +00:00
|
|
|
android:tint="?attr/colorFabForeground"
|
2019-05-05 09:45:41 +00:00
|
|
|
android:tooltipText="@string/title_compose"
|
2019-07-09 09:13:02 +00:00
|
|
|
app:backgroundTint="@color/colorError"
|
2019-06-20 06:39:37 +00:00
|
|
|
app:srcCompat="@drawable/baseline_warning_24" />
|
2018-12-06 08:09:30 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|