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 @@