Files
arcanechat-android/res/menu/conversation_context.xml
T
B. Petersen ad042a73ab add "Resend" to message menu
the UI does not check before selection if a message can be resent,
this is subject to change and not worth the effort.
instead, just an error is shown.

for the ID_NEVER_SHOW_AS_ACTION_* - this is a bit ugly,
however, the few alternatives i tried were even more uglier,
Java and Array-primitives are just not great.
as it is not changed often, it is probably not worth the effort to dive deeper.
2022-04-26 21:00:47 +02:00

50 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<item android:title="@string/menu_reply"
android:id="@+id/menu_context_reply"
android:icon="?menu_reply_icon"
app:showAsAction="always" />
<item android:title="@string/menu_message_details"
android:id="@+id/menu_context_details"
android:icon="?menu_info_icon"
app:showAsAction="always" />
<item android:title="@string/menu_delete_messages"
android:id="@+id/menu_context_delete_message"
android:icon="?menu_trash_icon"
app:showAsAction="always" />
<item android:title="@string/menu_share"
android:id="@+id/menu_context_share"
android:icon="@drawable/ic_share_white_24dp"
app:showAsAction="always" />
<item android:title="@string/menu_copy_to_clipboard"
android:id="@+id/menu_context_copy"
android:icon="?menu_copy_icon"
app:showAsAction="always" />
<item android:title="@string/menu_forward"
android:id="@+id/menu_context_forward"
android:icon="?menu_forward_icon"
app:showAsAction="always" />
<item android:title="@string/menu_export_attachments"
android:id="@+id/menu_context_save_attachment"
android:visible="false"
app:showAsAction="never" />
<item android:title="@string/reply_privately"
android:id="@+id/menu_context_reply_privately"
app:showAsAction="never" />
<item android:title="@string/resend"
android:id="@+id/menu_resend"
app:showAsAction="never" />
<!-- The `showAsAction` behaviors are managed by
ConversationAdaptiveActionsToolbar. The `app:showAsAction`
values set here don't actually make a difference.-->
</menu>