reorder some menu entries
This commit is contained in:
parent
53f1841b8c
commit
213191a1b6
3 changed files with 8 additions and 8 deletions
|
@ -1175,12 +1175,12 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
|
|||
menuContactDetails.setVisible(false);
|
||||
}
|
||||
menuMediaBrowser.setVisible(true);
|
||||
menuNeedHelp.setVisible(true);
|
||||
menuNeedHelp.setVisible(false);
|
||||
menuSearchUpdates.setVisible(false);
|
||||
ConversationMenuConfigurator.configureAttachmentMenu(conversation, menu, activity.xmppConnectionService.getAttachmentChoicePreference(), hasAttachments);
|
||||
ConversationMenuConfigurator.configureEncryptionMenu(conversation, menu, activity);
|
||||
} else {
|
||||
menuNeedHelp.setVisible(false);
|
||||
menuNeedHelp.setVisible(true);
|
||||
menuSearchUpdates.setVisible(true);
|
||||
menuInviteContact.setVisible(false);
|
||||
menuGroupDetails.setVisible(false);
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_check_updates"
|
||||
android:orderInCategory="850"
|
||||
android:title="@string/action_check_update"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
|
@ -27,5 +28,9 @@
|
|||
android:orderInCategory="100"
|
||||
android:title="@string/invite_user"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_create_issue"
|
||||
android:orderInCategory="900"
|
||||
android:title="@string/create_issue"
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
|
@ -106,11 +106,6 @@
|
|||
android:orderInCategory="60"
|
||||
android:title="@string/action_end_conversation"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_create_issue"
|
||||
android:orderInCategory="100"
|
||||
android:title="@string/create_issue"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/action_group_details"
|
||||
android:icon="@drawable/ic_group_white_24dp"
|
||||
|
|
Loading…
Reference in a new issue