add a Share placeholder

This commit is contained in:
tibbi 2016-08-22 21:54:19 +02:00
parent 72ad15e3ae
commit 81433c670c
11 changed files with 11 additions and 0 deletions

View File

@ -317,6 +317,8 @@ public class ItemsFragment extends android.support.v4.app.Fragment
displayRenameDialog();
mode.finish();
return true;
case R.id.cab_share:
return true;
case R.id.cab_copy:
displayCopyDialog();
mode.finish();

View File

@ -6,6 +6,11 @@
android:icon="@mipmap/edit"
android:title="@string/rename"
app:showAsAction="ifRoom"/>
<item
android:id="@+id/cab_share"
android:icon="@mipmap/share"
android:title="@string/share"
app:showAsAction="ifRoom"/>
<item
android:id="@+id/cab_copy"
android:icon="@mipmap/copy"

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 B

View File

@ -14,6 +14,7 @@
<string name="undo">Annulla</string>
<string name="rename">Rinomina</string>
<string name="copy">Copia</string>
<string name="share">Share</string>
<string name="copy_item">Copia elemento</string>
<string name="copy_items">Copia elementi</string>
<string name="move">Sposta</string>

View File

@ -14,6 +14,7 @@
<string name="undo">元に戻す</string>
<string name="rename">名前を変更</string>
<string name="copy">コピー</string>
<string name="share">Share</string>
<string name="copy_item">アイテムをコピー</string>
<string name="copy_items">アイテムをコピー</string>
<string name="move">移動</string>

View File

@ -14,6 +14,7 @@
<string name="undo">Ångra</string>
<string name="rename">Döp om</string>
<string name="copy">Kopiera</string>
<string name="share">Share</string>
<string name="copy_item">Kopiera objekt</string>
<string name="copy_items">Kopiera objekt</string>
<string name="move">Flytta</string>

View File

@ -14,6 +14,7 @@
<string name="undo">Undo</string>
<string name="rename">Rename</string>
<string name="copy">Copy</string>
<string name="share">Share</string>
<string name="copy_item">Copy item</string>
<string name="copy_items">Copy items</string>
<string name="move">Move</string>