diff options
Diffstat (limited to 'src/main/res/menu')
-rw-r--r-- | src/main/res/menu/contact_details.xml | 11 | ||||
-rw-r--r-- | src/main/res/menu/conversations.xml | 13 | ||||
-rw-r--r-- | src/main/res/menu/editaccount.xml | 8 | ||||
-rw-r--r-- | src/main/res/menu/manageaccounts.xml | 6 | ||||
-rw-r--r-- | src/main/res/menu/manageaccounts_context.xml | 9 | ||||
-rw-r--r-- | src/main/res/menu/menu_updater.xml | 7 | ||||
-rw-r--r-- | src/main/res/menu/muc_details_context.xml | 2 | ||||
-rw-r--r-- | src/main/res/menu/start_conversation.xml | 10 |
8 files changed, 27 insertions, 39 deletions
diff --git a/src/main/res/menu/contact_details.xml b/src/main/res/menu/contact_details.xml index bd81b6d49..43ccc7927 100644 --- a/src/main/res/menu/contact_details.xml +++ b/src/main/res/menu/contact_details.xml @@ -30,15 +30,4 @@ android:showAsAction="never" android:title="@string/action_unblock_contact"/> - <item - android:id="@+id/action_accounts" - android:orderInCategory="90" - android:showAsAction="never" - android:title="@string/action_accounts"/> - <item - android:id="@+id/action_settings" - android:orderInCategory="100" - android:showAsAction="never" - android:title="@string/action_settings"/> - </menu>
\ No newline at end of file diff --git a/src/main/res/menu/conversations.xml b/src/main/res/menu/conversations.xml index 4c724d27d..7155b8ce5 100644 --- a/src/main/res/menu/conversations.xml +++ b/src/main/res/menu/conversations.xml @@ -18,8 +18,9 @@ android:orderInCategory="30" android:showAsAction="always" android:title="@string/attach_file"/> - <item +<!-- <item android:id="@+id/action_contact_details" + android:icon="?attr/icon_group" android:orderInCategory="40" android:showAsAction="never" android:title="@string/action_contact_details"/> @@ -27,8 +28,9 @@ android:id="@+id/action_muc_details" android:icon="?attr/icon_group" android:orderInCategory="40" - android:showAsAction="ifRoom" + android:showAsAction="never" android:title="@string/action_muc_details"/> +--> <item android:id="@+id/action_invite" android:orderInCategory="45" @@ -60,11 +62,16 @@ android:id="@+id/action_accounts" android:orderInCategory="90" android:showAsAction="never" - android:title="@string/action_accounts"/> + android:title="@string/mgmt_account_edit"/> <item android:id="@+id/action_settings" android:orderInCategory="100" android:showAsAction="never" android:title="@string/action_settings"/> + <item + android:id="@+id/action_check_updates" + android:orderInCategory="100" + android:showAsAction="never" + android:title="@string/action_check_update"/> </menu>
\ No newline at end of file diff --git a/src/main/res/menu/editaccount.xml b/src/main/res/menu/editaccount.xml index ef9f17323..3e449007b 100644 --- a/src/main/res/menu/editaccount.xml +++ b/src/main/res/menu/editaccount.xml @@ -13,7 +13,8 @@ <item android:id="@+id/action_show_block_list" - android:showAsAction="never" + android:showAsAction="always" + android:icon="@drawable/ic_block_white_24dp" android:title="@string/show_block_list"/> <item @@ -31,11 +32,14 @@ <item android:id="@+id/action_mam_prefs" + android:icon="@drawable/ic_backup_white_24dp" + android:showAsAction="always" android:title="@string/mam_prefs"/> <item android:id="@+id/action_change_password_on_server" - android:showAsAction="never" + android:showAsAction="always" + android:icon="?attr/icon_edit" android:title="@string/change_password"/> <item diff --git a/src/main/res/menu/manageaccounts.xml b/src/main/res/menu/manageaccounts.xml index ffa692a0b..2ce422a7b 100644 --- a/src/main/res/menu/manageaccounts.xml +++ b/src/main/res/menu/manageaccounts.xml @@ -13,12 +13,6 @@ android:title="@string/action_add_account_with_certificate" android:visible="true"/> <item - android:id="@+id/action_enable_all" - android:title="@string/enable_all_accounts"/> - <item - android:id="@+id/action_disable_all" - android:title="@string/disable_all_accounts"/> - <item android:id="@+id/action_settings" android:orderInCategory="100" android:showAsAction="never" diff --git a/src/main/res/menu/manageaccounts_context.xml b/src/main/res/menu/manageaccounts_context.xml index d8b0093e6..1205b3291 100644 --- a/src/main/res/menu/manageaccounts_context.xml +++ b/src/main/res/menu/manageaccounts_context.xml @@ -2,9 +2,6 @@ <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item - android:id="@+id/mgmt_account_enable" - android:title="@string/mgmt_account_enable"/> - <item android:id="@+id/mgmt_account_change_presence" android:title="@string/change_presence"/> <item @@ -14,9 +11,9 @@ android:id="@+id/mgmt_account_announce_pgp" android:title="@string/mgmt_account_publish_pgp"/> <item - android:id="@+id/mgmt_account_disable" - android:showAsAction="never" - android:title="@string/mgmt_account_disable"/> + android:id="@+id/mgmt_account_reconnect" + android:showAsAction="always" + android:title="@string/mgmt_account_reconnect"/> <item android:id="@+id/mgmt_account_delete" android:title="@string/mgmt_account_delete"/> diff --git a/src/main/res/menu/menu_updater.xml b/src/main/res/menu/menu_updater.xml new file mode 100644 index 000000000..f52657372 --- /dev/null +++ b/src/main/res/menu/menu_updater.xml @@ -0,0 +1,7 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + tools:context="eu.siacs.conversations.ui.UpdaterActivity"> + <item android:id="@+id/action_settings" android:title="@string/action_settings" + android:orderInCategory="100" app:showAsAction="never" /> +</menu> diff --git a/src/main/res/menu/muc_details_context.xml b/src/main/res/menu/muc_details_context.xml index af5e691b7..4a8b13d16 100644 --- a/src/main/res/menu/muc_details_context.xml +++ b/src/main/res/menu/muc_details_context.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> - <item + <item android:id="@+id/start_conversation" android:title="@string/start_conversation" android:visible="false"/> diff --git a/src/main/res/menu/start_conversation.xml b/src/main/res/menu/start_conversation.xml index a89d71ffd..b0472af05 100644 --- a/src/main/res/menu/start_conversation.xml +++ b/src/main/res/menu/start_conversation.xml @@ -29,15 +29,5 @@ android:orderInCategory="85" android:showAsAction="never" android:title="@string/hide_offline"/> - <item - android:id="@+id/action_accounts" - android:orderInCategory="90" - android:showAsAction="never" - android:title="@string/action_accounts" /> - <item - android:id="@+id/action_settings" - android:orderInCategory="100" - android:showAsAction="never" - android:title="@string/action_settings" /> </menu>
\ No newline at end of file |