lets actually remove Deselect all, there is the back button for it...
This commit is contained in:
parent
26dfea3adb
commit
c449ce43a5
11 changed files with 0 additions and 21 deletions
|
@ -84,10 +84,6 @@ class MediaAdapter(val activity: SimpleActivity, var media: MutableList<Medium>,
|
||||||
selectAll()
|
selectAll()
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
R.id.cab_deselect_all -> {
|
|
||||||
deselectAll()
|
|
||||||
true
|
|
||||||
}
|
|
||||||
R.id.cab_delete -> {
|
R.id.cab_delete -> {
|
||||||
askConfirmDelete()
|
askConfirmDelete()
|
||||||
true
|
true
|
||||||
|
@ -177,10 +173,6 @@ class MediaAdapter(val activity: SimpleActivity, var media: MutableList<Medium>,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun deselectAll() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private fun askConfirmDelete() {
|
private fun askConfirmDelete() {
|
||||||
ConfirmationDialog(activity) {
|
ConfirmationDialog(activity) {
|
||||||
actMode?.finish()
|
actMode?.finish()
|
||||||
|
|
|
@ -31,10 +31,6 @@
|
||||||
android:icon="@mipmap/select_all"
|
android:icon="@mipmap/select_all"
|
||||||
android:title="@string/select_all"
|
android:title="@string/select_all"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="ifRoom"/>
|
||||||
<item
|
|
||||||
android:id="@+id/cab_deselect_all"
|
|
||||||
android:title="@string/deselect_all"
|
|
||||||
app:showAsAction="never"/>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_delete"
|
android:id="@+id/cab_delete"
|
||||||
android:icon="@mipmap/delete"
|
android:icon="@mipmap/delete"
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
<string name="all_media">All media</string>
|
<string name="all_media">All media</string>
|
||||||
<string name="folder_view">Switch to folder view</string>
|
<string name="folder_view">Switch to folder view</string>
|
||||||
<string name="select_all">Select all</string>
|
<string name="select_all">Select all</string>
|
||||||
<string name="deselect_all">Deselect all</string>
|
|
||||||
|
|
||||||
<plurals name="folders_deleted">
|
<plurals name="folders_deleted">
|
||||||
<item quantity="one">1 Ordner gelöscht</item>
|
<item quantity="one">1 Ordner gelöscht</item>
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
<string name="all_media">All media</string>
|
<string name="all_media">All media</string>
|
||||||
<string name="folder_view">Switch to folder view</string>
|
<string name="folder_view">Switch to folder view</string>
|
||||||
<string name="select_all">Select all</string>
|
<string name="select_all">Select all</string>
|
||||||
<string name="deselect_all">Deselect all</string>
|
|
||||||
|
|
||||||
<plurals name="folders_deleted">
|
<plurals name="folders_deleted">
|
||||||
<item quantity="one">1 carpeta eliminada</item>
|
<item quantity="one">1 carpeta eliminada</item>
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
<string name="all_media">All media</string>
|
<string name="all_media">All media</string>
|
||||||
<string name="folder_view">Switch to folder view</string>
|
<string name="folder_view">Switch to folder view</string>
|
||||||
<string name="select_all">Select all</string>
|
<string name="select_all">Select all</string>
|
||||||
<string name="deselect_all">Deselect all</string>
|
|
||||||
|
|
||||||
<plurals name="folders_deleted">
|
<plurals name="folders_deleted">
|
||||||
<item quantity="one">1 cartella eliminata</item>
|
<item quantity="one">1 cartella eliminata</item>
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
<string name="all_media">All media</string>
|
<string name="all_media">All media</string>
|
||||||
<string name="folder_view">Switch to folder view</string>
|
<string name="folder_view">Switch to folder view</string>
|
||||||
<string name="select_all">Select all</string>
|
<string name="select_all">Select all</string>
|
||||||
<string name="deselect_all">Deselect all</string>
|
|
||||||
|
|
||||||
<plurals name="folders_deleted">
|
<plurals name="folders_deleted">
|
||||||
<item quantity="one">1 フォルダーを削除しました</item>
|
<item quantity="one">1 フォルダーを削除しました</item>
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
<string name="all_media">Multimédia</string>
|
<string name="all_media">Multimédia</string>
|
||||||
<string name="folder_view">Alternar para a vista de pastas</string>
|
<string name="folder_view">Alternar para a vista de pastas</string>
|
||||||
<string name="select_all">Select all</string>
|
<string name="select_all">Select all</string>
|
||||||
<string name="deselect_all">Deselect all</string>
|
|
||||||
|
|
||||||
<plurals name="folders_deleted">
|
<plurals name="folders_deleted">
|
||||||
<item quantity="one">1 pasta apagada</item>
|
<item quantity="one">1 pasta apagada</item>
|
||||||
|
|
|
@ -51,7 +51,6 @@
|
||||||
<string name="all_media">Все медиафайлы</string>
|
<string name="all_media">Все медиафайлы</string>
|
||||||
<string name="folder_view">Переключиться к виду с папками</string>
|
<string name="folder_view">Переключиться к виду с папками</string>
|
||||||
<string name="select_all">Select all</string>
|
<string name="select_all">Select all</string>
|
||||||
<string name="deselect_all">Deselect all</string>
|
|
||||||
|
|
||||||
<plurals name="folders_deleted">
|
<plurals name="folders_deleted">
|
||||||
<item quantity="one">1 папка удалена</item>
|
<item quantity="one">1 папка удалена</item>
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
<string name="all_media">All media</string>
|
<string name="all_media">All media</string>
|
||||||
<string name="folder_view">Switch to folder view</string>
|
<string name="folder_view">Switch to folder view</string>
|
||||||
<string name="select_all">Select all</string>
|
<string name="select_all">Select all</string>
|
||||||
<string name="deselect_all">Deselect all</string>
|
|
||||||
|
|
||||||
<plurals name="folders_deleted">
|
<plurals name="folders_deleted">
|
||||||
<item quantity="one">1 mapp borttagen</item>
|
<item quantity="one">1 mapp borttagen</item>
|
||||||
|
|
|
@ -51,7 +51,6 @@
|
||||||
<string name="all_media">All media</string>
|
<string name="all_media">All media</string>
|
||||||
<string name="folder_view">Switch to folder view</string>
|
<string name="folder_view">Switch to folder view</string>
|
||||||
<string name="select_all">Select all</string>
|
<string name="select_all">Select all</string>
|
||||||
<string name="deselect_all">Deselect all</string>
|
|
||||||
|
|
||||||
<plurals name="folders_deleted">
|
<plurals name="folders_deleted">
|
||||||
<item quantity="one">1 folder deleted</item>
|
<item quantity="one">1 folder deleted</item>
|
||||||
|
|
|
@ -50,7 +50,6 @@
|
||||||
<string name="all_media">All media</string>
|
<string name="all_media">All media</string>
|
||||||
<string name="folder_view">Switch to folder view</string>
|
<string name="folder_view">Switch to folder view</string>
|
||||||
<string name="select_all">Select all</string>
|
<string name="select_all">Select all</string>
|
||||||
<string name="deselect_all">Deselect all</string>
|
|
||||||
|
|
||||||
<plurals name="folders_deleted">
|
<plurals name="folders_deleted">
|
||||||
<item quantity="one">1 folder deleted</item>
|
<item quantity="one">1 folder deleted</item>
|
||||||
|
|
Loading…
Reference in a new issue