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 4a297ae97..578b337f2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt @@ -65,10 +65,18 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener crop_image_view.rotateImage(90) true } + R.id.resize -> { + resizeImage() + true + } else -> super.onOptionsItemSelected(item) } } + private fun resizeImage() { + + } + override fun onCropImageComplete(view: CropImageView, result: CropImageView.CropResult) { if (result.error == null) { if (uri.scheme == "file") { diff --git a/app/src/main/res/menu/menu_editor.xml b/app/src/main/res/menu/menu_editor.xml index 6fc1f6f37..d50dbdb0e 100644 --- a/app/src/main/res/menu/menu_editor.xml +++ b/app/src/main/res/menu/menu_editor.xml @@ -1,14 +1,19 @@ + diff --git a/app/src/main/res/mipmap-hdpi/resize.png b/app/src/main/res/mipmap-hdpi/resize.png new file mode 100644 index 000000000..fe86cd0d4 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/resize.png differ diff --git a/app/src/main/res/mipmap-mdpi/resize.png b/app/src/main/res/mipmap-mdpi/resize.png new file mode 100644 index 000000000..f378b5452 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/resize.png differ diff --git a/app/src/main/res/mipmap-xhdpi/resize.png b/app/src/main/res/mipmap-xhdpi/resize.png new file mode 100644 index 000000000..8a389fdbc Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/resize.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/resize.png b/app/src/main/res/mipmap-xxhdpi/resize.png new file mode 100644 index 000000000..6a9adb38e Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/resize.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/resize.png b/app/src/main/res/mipmap-xxxhdpi/resize.png new file mode 100644 index 000000000..5746cb51d Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/resize.png differ diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index de13caef4..b5e248e75 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -60,6 +60,13 @@ %1$d Dateien gelöscht + + Resize + Resize final image + Width + Height + Keep aspect ratio + Datei umbenennen Ordner umbenennen diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 576ed4770..39e4cc6f9 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -60,6 +60,13 @@ %1$d archivos eliminados + + Resize + Resize final image + Width + Height + Keep aspect ratio + Renombrar archivo Renombrar carpeta diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 49c0bd722..45bbafa39 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -60,6 +60,13 @@ %1$d file eliminati + + Resize + Resize final image + Width + Height + Keep aspect ratio + Rinomina file Rinomina cartella diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index f351c963f..fd602eca6 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -60,6 +60,13 @@ %1$d ファイルを削除しました + + Resize + Resize final image + Width + Height + Keep aspect ratio + ファイルの名前を変更 フォルダーの名前を変更 diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 5663545a0..d4f2c8c4e 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -60,6 +60,13 @@ %1$d ficheiros apagados + + Resize + Resize final image + Width + Height + Keep aspect ratio + Renomear ficheiro Renomear pasta diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 56909cddc..aebacf7af 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -61,6 +61,13 @@ Файлов удалено: %1$d + + Resize + Resize final image + Width + Height + Keep aspect ratio + Изменение имени файла Переименовать папку diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index f01f67212..6fb109fd4 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -60,6 +60,13 @@ %1$d filer borttagna + + Resize + Resize final image + Width + Height + Keep aspect ratio + Döp om fil Döp om mapp diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index 39d1a0e95..5c26d1ace 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -61,6 +61,13 @@ %1$d files deleted + + Resize + Resize final image + Width + Height + Keep aspect ratio + 重命名文件 文件不能重命名 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8138eea2f..8bd34ac97 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -60,6 +60,13 @@ %1$d files deleted + + Resize + Resize final image + Width + Height + Keep aspect ratio + Rename file Rename folder