diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt index f43178097..8c13a8d78 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt @@ -1,6 +1,8 @@ package com.simplemobiletools.gallery.activities import android.os.Bundle +import android.view.Menu +import android.view.MenuItem import com.simplemobiletools.gallery.R import com.theartofdev.edmodo.cropper.CropImageView import kotlinx.android.synthetic.main.activity_edit.* @@ -14,4 +16,18 @@ class EditActivity : SimpleActivity() { guidelines = CropImageView.Guidelines.OFF } } + + override fun onCreateOptionsMenu(menu: Menu?): Boolean { + menuInflater.inflate(R.menu.menu_editor, menu) + return true + } + + override fun onOptionsItemSelected(item: MenuItem): Boolean { + when (item.itemId) { + R.id.save -> { + return true + } + } + return super.onOptionsItemSelected(item) + } } diff --git a/app/src/main/res/menu/menu_editor.xml b/app/src/main/res/menu/menu_editor.xml new file mode 100644 index 000000000..24c10c23e --- /dev/null +++ b/app/src/main/res/menu/menu_editor.xml @@ -0,0 +1,9 @@ + + + + diff --git a/app/src/main/res/mipmap-hdpi/check.png b/app/src/main/res/mipmap-hdpi/check.png new file mode 100644 index 000000000..729f29010 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/check.png differ diff --git a/app/src/main/res/mipmap-mdpi/check.png b/app/src/main/res/mipmap-mdpi/check.png new file mode 100644 index 000000000..dfcb55d02 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/check.png differ diff --git a/app/src/main/res/mipmap-xhdpi/check.png b/app/src/main/res/mipmap-xhdpi/check.png new file mode 100644 index 000000000..3b2b65d26 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/check.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/check.png b/app/src/main/res/mipmap-xxhdpi/check.png new file mode 100644 index 000000000..2c2ad771f Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/check.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/check.png b/app/src/main/res/mipmap-xxxhdpi/check.png new file mode 100644 index 000000000..d670618c7 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/check.png differ diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 25e3a39d5..81f58b816 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -32,6 +32,7 @@ Als Hintergrundbild setzen Setzen des Hintergrundbildes fehlgeschlagen Editor + Save 1 Ordner gelöscht diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index aed54f4c2..19feef375 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -32,6 +32,7 @@ Establecer como fondo de pantalla Error al establecer fondo de pantalla Editor + Save 1 carpeta eliminada diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 74afb4d86..7767fadd8 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -32,6 +32,7 @@ Set as Wallpaper Setting as Wallpaper failed Editor + Save 1 cartella eliminata diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 9eaeaaded..7f38e283b 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -32,6 +32,7 @@ Set as Wallpaper Setting as Wallpaper failed Editor + Save 1 フォルダーを削除しました diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 122e1db31..dfb35f76c 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -32,6 +32,7 @@ Definir como fundo de ecrã Falha ao definir como fundo de ecrã Editor + Save 1 pasta eliminada diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 9e11a9bc4..2e39ae726 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -32,6 +32,7 @@ Set as Wallpaper Setting as Wallpaper failed Editor + Save 1 mapp borttagen diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f9f120a78..7752b184a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -32,6 +32,7 @@ Set as Wallpaper Setting as Wallpaper failed Editor + Save 1 folder deleted