diff --git a/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java b/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java index 242a74de2..2ccbf07eb 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java +++ b/app/src/main/java/com/simplemobiletools/gallery/activities/ViewPagerActivity.java @@ -140,6 +140,7 @@ public class ViewPagerActivity extends SimpleActivity getMenuInflater().inflate(R.menu.viewpager_menu, menu); //menu.findItem(R.id.menu_set_as_wallpaper).setVisible(getCurrentMedium().isImage()); menu.findItem(R.id.menu_set_as_wallpaper).setVisible(false); + menu.findItem(R.id.menu_crop_rotate).setVisible(getCurrentMedium().isImage()); return true; } @@ -159,6 +160,8 @@ public class ViewPagerActivity extends SimpleActivity case R.id.menu_rename: editMedium(); return true; + case R.id.menu_crop_rotate: + return true; default: return super.onOptionsItemSelected(item); } diff --git a/app/src/main/res/menu/viewpager_menu.xml b/app/src/main/res/menu/viewpager_menu.xml index 97518ad03..ff921fe59 100644 --- a/app/src/main/res/menu/viewpager_menu.xml +++ b/app/src/main/res/menu/viewpager_menu.xml @@ -5,6 +5,16 @@ android:id="@+id/menu_set_as_wallpaper" android:title="@string/set_as_wallpaper" app:showAsAction="never"/> + + - diff --git a/app/src/main/res/mipmap-hdpi/crop_rotate.png b/app/src/main/res/mipmap-hdpi/crop_rotate.png new file mode 100644 index 000000000..3cf5e4e71 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/crop_rotate.png differ diff --git a/app/src/main/res/mipmap-mdpi/crop_rotate.png b/app/src/main/res/mipmap-mdpi/crop_rotate.png new file mode 100644 index 000000000..5784122a6 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/crop_rotate.png differ diff --git a/app/src/main/res/mipmap-xhdpi/crop_rotate.png b/app/src/main/res/mipmap-xhdpi/crop_rotate.png new file mode 100644 index 000000000..fe2eca85c Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/crop_rotate.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/crop_rotate.png b/app/src/main/res/mipmap-xxhdpi/crop_rotate.png new file mode 100644 index 000000000..292f93bf6 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/crop_rotate.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/crop_rotate.png b/app/src/main/res/mipmap-xxxhdpi/crop_rotate.png new file mode 100644 index 000000000..13dc42b28 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/crop_rotate.png differ diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 10250a526..8b1554215 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -6,6 +6,7 @@ Löschen Lösche Rename + Crop / rotate Rückgängig Teilen Datei umbenennen diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 3e3b76a2c..7da7d72cc 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -6,6 +6,7 @@ Eliminar Eliminando Rename + Crop / rotate Deshacer Compartir Renombrar archivo diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 4b464a799..b048b0a62 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -6,6 +6,7 @@ Elimina Eliminazione Rename + Crop / rotate Annulla Condividi Rinomina file diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index c7f10b3ad..42371fa25 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -6,6 +6,7 @@ 削除 削除中 Rename + Crop / rotate 元に戻す 共有 ファイルの名前を変更 diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 06cff51a5..bd79c7d3f 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -6,6 +6,7 @@ Eliminar A eliminar Rename + Crop / rotate Desfazer Partilhar Renomear ficheiro diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 4f3677c6e..a0aa69a99 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -6,6 +6,7 @@ Ta bort Tar bort Rename + Crop / rotate Ångra Dela Döp om fil diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8f69bda94..0541916b6 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -6,6 +6,7 @@ Delete Deleting Rename + Crop / rotate Undo Share Rename file