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">
|
|
|
|
|
2018-09-08 16:32:13 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvHintActions"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="6dp"
|
|
|
|
android:layout_marginTop="6dp"
|
2018-10-24 16:29:55 +00:00
|
|
|
android:layout_marginEnd="6dp"
|
2018-09-08 16:32:13 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="33dp"
|
|
|
|
android:text="@string/title_hint_folder_actions"
|
2018-09-12 09:10:03 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
2018-09-08 16:32:13 +00:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibHintActions"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<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/vSeparator"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:background="?attr/colorSeparator"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvHintActions" />
|
|
|
|
|
2018-09-21 15:19:37 +00:00
|
|
|
<ToggleButton
|
|
|
|
android:id="@+id/tbShowHidden"
|
|
|
|
style="@style/buttonStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minWidth="0dp"
|
2018-10-24 16:29:55 +00:00
|
|
|
android:minHeight="0dp"
|
2018-09-21 15:19:37 +00:00
|
|
|
android:textOff="@string/title_show_folders"
|
|
|
|
android:textOn="@string/title_hide_folders"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/vSeparator" />
|
|
|
|
|
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-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-09-21 15:19:37 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tbShowHidden" />
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2018-11-05 08:29:21 +00:00
|
|
|
<androidx.core.widget.ContentLoadingProgressBar
|
2018-08-02 13:33:06 +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"
|
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-09-08 16:32:13 +00:00
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpHintActions"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="tvHintActions,ibHintActions,vSeparator" />
|
|
|
|
|
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"
|
2018-09-14 08:15:45 +00:00
|
|
|
android:src="@drawable/baseline_add_24"
|
2018-08-02 13:33:06 +00:00
|
|
|
android:tint="@color/colorActionForeground"
|
|
|
|
app:backgroundTint="?attr/colorAccent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
2018-08-08 06:55:47 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|