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