2020-07-01 17:08:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-09-20 18:52:34 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-09-13 10:27:46 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-09-20 18:52:34 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2020-09-20 18:52:34 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBarLayout"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-20 18:52:34 +00:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/directoryList"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-09-20 18:52:34 +00:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/toolbar"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-20 18:52:34 +00:00
|
|
|
app:navigationIcon="@drawable/ic_arrow_upward_24"
|
|
|
|
tools:title="/this/that/thy" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/directoryList"
|
2020-09-20 18:52:34 +00:00
|
|
|
android:layout_width="0dp"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_height="0dp"
|
2020-09-20 18:52:34 +00:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/bottom_horizontal_divider"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/appBarLayout" />
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/bottom_horizontal_divider"
|
|
|
|
layout="@layout/item_pref_divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/btnCancel"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/directoryList" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/btnCancel"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/cancel"
|
|
|
|
app:icon="@drawable/ic_close_24"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/directoryList" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/btnConfirm"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/confirm"
|
|
|
|
app:icon="@drawable/ic_check_24"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/directoryList" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|