2020-07-17 16:35:39 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:context="sushi.hardcore.droidfs.explorers.ExplorerActivity">
|
|
|
|
|
|
|
|
<include layout="@layout/toolbar"/>
|
|
|
|
|
|
|
|
<include layout="@layout/explorer_info_bar"/>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_dir_empty"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="30sp"
|
|
|
|
android:text="@string/dir_empty"
|
|
|
|
android:visibility="invisible"/>
|
|
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/refresher"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<ListView
|
|
|
|
android:id="@+id/list_explorer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
style="@style/listViewNoDivider"/>
|
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
|
|
<sushi.hardcore.droidfs.widgets.ColoredFAM
|
|
|
|
android:id="@+id/fam_explorer"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_margin="15dp"
|
|
|
|
app:menu_labels_style="@style/fab_label">
|
|
|
|
|
|
|
|
<sushi.hardcore.droidfs.widgets.ColoredFAB
|
2020-08-01 15:39:00 +02:00
|
|
|
android:id="@+id/fab_import_file_from_other_volume"
|
2020-07-17 16:35:39 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:fab_size="mini"
|
|
|
|
app:fab_label="@string/import_from_other_volume"
|
2020-08-01 15:39:00 +02:00
|
|
|
android:src="@drawable/icon_transfert"
|
2020-07-17 16:35:39 +02:00
|
|
|
android:onClick="onClickAddFileFromOtherVolume"/>
|
|
|
|
|
|
|
|
<sushi.hardcore.droidfs.widgets.ColoredFAB
|
2020-08-01 15:39:00 +02:00
|
|
|
android:id="@+id/fab_import_file"
|
2020-07-17 16:35:39 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:fab_size="mini"
|
|
|
|
app:fab_label="@string/import_files"
|
2020-08-01 15:39:00 +02:00
|
|
|
android:src="@drawable/icon_encrypt"
|
2020-07-17 16:35:39 +02:00
|
|
|
android:onClick="onClickAddFile"/>
|
|
|
|
|
2020-07-19 21:46:29 +02:00
|
|
|
<sushi.hardcore.droidfs.widgets.ColoredFAB
|
2020-08-01 15:39:00 +02:00
|
|
|
android:id="@+id/fab_add_file"
|
2020-07-19 21:46:29 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:fab_size="mini"
|
|
|
|
app:fab_label="@string/new_file"
|
2020-08-01 15:39:00 +02:00
|
|
|
android:src="@drawable/icon_file_unknown"
|
2020-07-19 21:46:29 +02:00
|
|
|
android:onClick="onClickCreateFile"/>
|
|
|
|
|
2020-07-17 16:35:39 +02:00
|
|
|
<sushi.hardcore.droidfs.widgets.ColoredFAB
|
2020-08-01 15:39:00 +02:00
|
|
|
android:id="@+id/fab_add_folder"
|
2020-07-17 16:35:39 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:fab_size="mini"
|
|
|
|
app:fab_label="@string/mkdir"
|
2020-08-01 15:39:00 +02:00
|
|
|
android:src="@drawable/icon_folder"
|
2020-07-19 21:46:29 +02:00
|
|
|
android:onClick="onClickAddFolder"
|
|
|
|
tools:ignore="OnClick" />
|
2020-07-17 16:35:39 +02:00
|
|
|
|
|
|
|
</sushi.hardcore.droidfs.widgets.ColoredFAM>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|