order menu items for encrypt operations

This commit is contained in:
Vincent Breitmoser 2015-06-22 14:32:15 +02:00
parent b2dec85421
commit 97d45a0faa
3 changed files with 18 additions and 6 deletions

View File

@ -4,6 +4,7 @@
<item <item
android:id="@+id/check_use_symmetric" android:id="@+id/check_use_symmetric"
android:title="@string/label_symmetric" android:title="@string/label_symmetric"
android:checkable="true" /> android:checkable="true"
android:orderInCategory="1" />
</menu> </menu>

View File

@ -6,37 +6,45 @@
android:id="@+id/encrypt_save" android:id="@+id/encrypt_save"
android:title="@string/btn_encrypt_save_file" android:title="@string/btn_encrypt_save_file"
android:icon="@drawable/ic_action_encrypt_save_24dp" android:icon="@drawable/ic_action_encrypt_save_24dp"
app:showAsAction="always" /> android:orderInCategory="0"
app:showAsAction="ifRoom" />
<item <item
android:id="@+id/encrypt_share" android:id="@+id/encrypt_share"
android:title="@string/btn_encrypt_share_file" android:title="@string/btn_encrypt_share_file"
android:icon="@drawable/ic_action_encrypt_share_24dp" android:icon="@drawable/ic_action_encrypt_share_24dp"
app:showAsAction="always" /> android:orderInCategory="0"
app:showAsAction="ifRoom" />
<item <item
android:id="@+id/encrypt_copy" android:id="@+id/encrypt_copy"
android:title="@string/btn_copy_encrypted_signed" android:title="@string/btn_copy_encrypted_signed"
android:icon="@drawable/ic_action_encrypt_copy_24dp" /> android:icon="@drawable/ic_action_encrypt_copy_24dp"
android:orderInCategory="0"
app:showAsAction="ifRoom" />
<item <item
android:id="@+id/check_delete_after_encrypt" android:id="@+id/check_delete_after_encrypt"
android:title="@string/label_delete_after_encryption" android:title="@string/label_delete_after_encryption"
android:orderInCategory="1"
android:checkable="true" /> android:checkable="true" />
<item <item
android:id="@+id/check_enable_compression" android:id="@+id/check_enable_compression"
android:title="@string/label_enable_compression" android:title="@string/label_enable_compression"
android:orderInCategory="1"
android:checkable="true" /> android:checkable="true" />
<item <item
android:id="@+id/check_encrypt_filenames" android:id="@+id/check_encrypt_filenames"
android:title="@string/label_encrypt_filenames" android:title="@string/label_encrypt_filenames"
android:orderInCategory="1"
android:checkable="true" /> android:checkable="true" />
<item <item
android:id="@+id/check_use_armor" android:id="@+id/check_use_armor"
android:title="@string/label_file_ascii_armor" android:title="@string/label_file_ascii_armor"
android:orderInCategory="1"
android:checkable="true" /> android:checkable="true" />
<!--<item--> <!--<item-->

View File

@ -6,17 +6,20 @@
android:id="@+id/encrypt_copy" android:id="@+id/encrypt_copy"
android:title="@string/btn_copy_encrypted_signed" android:title="@string/btn_copy_encrypted_signed"
android:icon="@drawable/ic_action_encrypt_copy_24dp" android:icon="@drawable/ic_action_encrypt_copy_24dp"
app:showAsAction="always" /> android:orderInCategory="1"
app:showAsAction="ifRoom" />
<item <item
android:id="@+id/encrypt_share" android:id="@+id/encrypt_share"
android:title="@string/btn_share_encrypted_signed" android:title="@string/btn_share_encrypted_signed"
android:icon="@drawable/ic_action_encrypt_share_24dp" android:icon="@drawable/ic_action_encrypt_share_24dp"
app:showAsAction="always" /> android:orderInCategory="1"
app:showAsAction="ifRoom" />
<item <item
android:id="@+id/check_enable_compression" android:id="@+id/check_enable_compression"
android:title="@string/label_enable_compression" android:title="@string/label_enable_compression"
android:orderInCategory="1"
android:checked="true" android:checked="true"
android:checkable="true" /> android:checkable="true" />