add a menu item for rotating

This commit is contained in:
tibbi 2016-10-05 21:08:24 +02:00
parent ed1a971564
commit d3ce91beb5
14 changed files with 15 additions and 0 deletions

View File

@ -27,6 +27,9 @@ class EditActivity : SimpleActivity() {
R.id.save -> { R.id.save -> {
return true return true
} }
R.id.rotate -> {
return true
}
} }
return super.onOptionsItemSelected(item) return super.onOptionsItemSelected(item)
} }

View File

@ -1,6 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/rotate"
android:icon="@mipmap/rotate"
android:title="@string/rotate"
app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/save" android:id="@+id/save"
android:icon="@mipmap/check" android:icon="@mipmap/check"

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -33,6 +33,7 @@
<string name="set_as_wallpaper_failed">Setzen des Hintergrundbildes fehlgeschlagen</string> <string name="set_as_wallpaper_failed">Setzen des Hintergrundbildes fehlgeschlagen</string>
<string name="editor">Editor</string> <string name="editor">Editor</string>
<string name="save">Save</string> <string name="save">Save</string>
<string name="rotate">Rotate</string>
<plurals name="folders_deleted"> <plurals name="folders_deleted">
<item quantity="one">1 Ordner gelöscht</item> <item quantity="one">1 Ordner gelöscht</item>

View File

@ -33,6 +33,7 @@
<string name="set_as_wallpaper_failed">Error al establecer fondo de pantalla</string> <string name="set_as_wallpaper_failed">Error al establecer fondo de pantalla</string>
<string name="editor">Editor</string> <string name="editor">Editor</string>
<string name="save">Save</string> <string name="save">Save</string>
<string name="rotate">Rotate</string>
<plurals name="folders_deleted"> <plurals name="folders_deleted">
<item quantity="one">1 carpeta eliminada</item> <item quantity="one">1 carpeta eliminada</item>

View File

@ -33,6 +33,7 @@
<string name="set_as_wallpaper_failed">Setting as Wallpaper failed</string> <string name="set_as_wallpaper_failed">Setting as Wallpaper failed</string>
<string name="editor">Editor</string> <string name="editor">Editor</string>
<string name="save">Save</string> <string name="save">Save</string>
<string name="rotate">Rotate</string>
<plurals name="folders_deleted"> <plurals name="folders_deleted">
<item quantity="one">1 cartella eliminata</item> <item quantity="one">1 cartella eliminata</item>

View File

@ -33,6 +33,7 @@
<string name="set_as_wallpaper_failed">Setting as Wallpaper failed</string> <string name="set_as_wallpaper_failed">Setting as Wallpaper failed</string>
<string name="editor">Editor</string> <string name="editor">Editor</string>
<string name="save">Save</string> <string name="save">Save</string>
<string name="rotate">Rotate</string>
<plurals name="folders_deleted"> <plurals name="folders_deleted">
<item quantity="one">1 フォルダーを削除しました</item> <item quantity="one">1 フォルダーを削除しました</item>

View File

@ -33,6 +33,7 @@
<string name="set_as_wallpaper_failed">Falha ao definir como fundo de ecrã</string> <string name="set_as_wallpaper_failed">Falha ao definir como fundo de ecrã</string>
<string name="editor">Editor</string> <string name="editor">Editor</string>
<string name="save">Save</string> <string name="save">Save</string>
<string name="rotate">Rotate</string>
<plurals name="folders_deleted"> <plurals name="folders_deleted">
<item quantity="one">1 pasta eliminada</item> <item quantity="one">1 pasta eliminada</item>

View File

@ -33,6 +33,7 @@
<string name="set_as_wallpaper_failed">Setting as Wallpaper failed</string> <string name="set_as_wallpaper_failed">Setting as Wallpaper failed</string>
<string name="editor">Editor</string> <string name="editor">Editor</string>
<string name="save">Save</string> <string name="save">Save</string>
<string name="rotate">Rotate</string>
<plurals name="folders_deleted"> <plurals name="folders_deleted">
<item quantity="one">1 mapp borttagen</item> <item quantity="one">1 mapp borttagen</item>

View File

@ -33,6 +33,7 @@
<string name="set_as_wallpaper_failed">Setting as Wallpaper failed</string> <string name="set_as_wallpaper_failed">Setting as Wallpaper failed</string>
<string name="editor">Editor</string> <string name="editor">Editor</string>
<string name="save">Save</string> <string name="save">Save</string>
<string name="rotate">Rotate</string>
<plurals name="folders_deleted"> <plurals name="folders_deleted">
<item quantity="one">1 folder deleted</item> <item quantity="one">1 folder deleted</item>