aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/menu
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2015-06-22 14:32:15 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2015-06-22 14:32:15 +0200
commit97d45a0faa41232f8fcfd3aa9a75d188ef5e79ea (patch)
treea871b89357260244b8cc73ccdcaf7d79dc612d11 /OpenKeychain/src/main/res/menu
parentb2dec8542177b55a966c878e1c405ce7491651f1 (diff)
downloadopen-keychain-97d45a0faa41232f8fcfd3aa9a75d188ef5e79ea.tar.gz
open-keychain-97d45a0faa41232f8fcfd3aa9a75d188ef5e79ea.tar.bz2
open-keychain-97d45a0faa41232f8fcfd3aa9a75d188ef5e79ea.zip
order menu items for encrypt operations
Diffstat (limited to 'OpenKeychain/src/main/res/menu')
-rw-r--r--OpenKeychain/src/main/res/menu/encrypt_activity.xml3
-rw-r--r--OpenKeychain/src/main/res/menu/encrypt_file_fragment.xml14
-rw-r--r--OpenKeychain/src/main/res/menu/encrypt_text_fragment.xml7
3 files changed, 18 insertions, 6 deletions
diff --git a/OpenKeychain/src/main/res/menu/encrypt_activity.xml b/OpenKeychain/src/main/res/menu/encrypt_activity.xml
index fdd19927e..c71e426c5 100644
--- a/OpenKeychain/src/main/res/menu/encrypt_activity.xml
+++ b/OpenKeychain/src/main/res/menu/encrypt_activity.xml
@@ -4,6 +4,7 @@
<item
android:id="@+id/check_use_symmetric"
android:title="@string/label_symmetric"
- android:checkable="true" />
+ android:checkable="true"
+ android:orderInCategory="1" />
</menu> \ No newline at end of file
diff --git a/OpenKeychain/src/main/res/menu/encrypt_file_fragment.xml b/OpenKeychain/src/main/res/menu/encrypt_file_fragment.xml
index 640081eba..e719487a7 100644
--- a/OpenKeychain/src/main/res/menu/encrypt_file_fragment.xml
+++ b/OpenKeychain/src/main/res/menu/encrypt_file_fragment.xml
@@ -6,37 +6,45 @@
android:id="@+id/encrypt_save"
android:title="@string/btn_encrypt_save_file"
android:icon="@drawable/ic_action_encrypt_save_24dp"
- app:showAsAction="always" />
+ android:orderInCategory="0"
+ app:showAsAction="ifRoom" />
<item
android:id="@+id/encrypt_share"
android:title="@string/btn_encrypt_share_file"
android:icon="@drawable/ic_action_encrypt_share_24dp"
- app:showAsAction="always" />
+ android:orderInCategory="0"
+ app:showAsAction="ifRoom" />
<item
android:id="@+id/encrypt_copy"
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
android:id="@+id/check_delete_after_encrypt"
android:title="@string/label_delete_after_encryption"
+ android:orderInCategory="1"
android:checkable="true" />
<item
android:id="@+id/check_enable_compression"
android:title="@string/label_enable_compression"
+ android:orderInCategory="1"
android:checkable="true" />
<item
android:id="@+id/check_encrypt_filenames"
android:title="@string/label_encrypt_filenames"
+ android:orderInCategory="1"
android:checkable="true" />
<item
android:id="@+id/check_use_armor"
android:title="@string/label_file_ascii_armor"
+ android:orderInCategory="1"
android:checkable="true" />
<!--<item-->
diff --git a/OpenKeychain/src/main/res/menu/encrypt_text_fragment.xml b/OpenKeychain/src/main/res/menu/encrypt_text_fragment.xml
index e49898093..80b78457d 100644
--- a/OpenKeychain/src/main/res/menu/encrypt_text_fragment.xml
+++ b/OpenKeychain/src/main/res/menu/encrypt_text_fragment.xml
@@ -6,17 +6,20 @@
android:id="@+id/encrypt_copy"
android:title="@string/btn_copy_encrypted_signed"
android:icon="@drawable/ic_action_encrypt_copy_24dp"
- app:showAsAction="always" />
+ android:orderInCategory="1"
+ app:showAsAction="ifRoom" />
<item
android:id="@+id/encrypt_share"
android:title="@string/btn_share_encrypted_signed"
android:icon="@drawable/ic_action_encrypt_share_24dp"
- app:showAsAction="always" />
+ android:orderInCategory="1"
+ app:showAsAction="ifRoom" />
<item
android:id="@+id/check_enable_compression"
android:title="@string/label_enable_compression"
+ android:orderInCategory="1"
android:checked="true"
android:checkable="true" />