mirror of
https://github.com/element-hq/element-android
synced 2024-12-21 00:42:04 +03:00
93 lines
3.1 KiB
XML
93 lines
3.1 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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:ignore="AlwaysShowAction">
|
|
|
|
<item
|
|
android:id="@+id/timeline_setting"
|
|
android:icon="@drawable/ic_settings_x"
|
|
android:title="@string/settings"
|
|
app:showAsAction="never" />
|
|
|
|
<item
|
|
android:id="@+id/search"
|
|
android:title="@string/search"
|
|
app:showAsAction="never" />
|
|
|
|
<item
|
|
android:id="@+id/invite"
|
|
android:title="@string/action_invite"
|
|
app:showAsAction="never" />
|
|
|
|
<!-- We always want to show this item as an icon -->
|
|
<item
|
|
android:id="@+id/video_call"
|
|
android:icon="@drawable/ic_video"
|
|
android:title="@string/action_video_call"
|
|
android:visible="false"
|
|
app:iconTint="?colorPrimary"
|
|
app:showAsAction="always"
|
|
tools:visible="true" />
|
|
|
|
<!-- We always want to show this item as an icon -->
|
|
<item
|
|
android:id="@+id/voice_call"
|
|
android:icon="@drawable/ic_phone"
|
|
android:title="@string/action_voice_call"
|
|
android:visible="false"
|
|
app:iconTint="?colorPrimary"
|
|
app:showAsAction="always"
|
|
tools:visible="true" />
|
|
|
|
<!-- We always want to show this item as an icon -->
|
|
<item
|
|
android:id="@+id/menu_timeline_thread_list"
|
|
android:title="@string/action_view_threads"
|
|
android:visible="false"
|
|
app:actionLayout="@layout/view_thread_notification_badge"
|
|
app:iconTint="?colorPrimary"
|
|
app:showAsAction="always"
|
|
tools:visible="true" />
|
|
|
|
<item
|
|
android:id="@+id/join_conference"
|
|
android:title="@string/action_join"
|
|
app:actionLayout="@layout/layout_join_conference_action"
|
|
app:showAsAction="always" />
|
|
|
|
<item
|
|
android:id="@+id/open_matrix_apps"
|
|
android:title="@string/room_add_matrix_apps"
|
|
app:actionLayout="@layout/custom_action_item_layout_badge"
|
|
app:showAsAction="ifRoom" />
|
|
|
|
<item
|
|
android:id="@+id/dev_tools"
|
|
android:icon="@drawable/ic_settings_root_general"
|
|
android:title="@string/dev_tools_menu_name"
|
|
android:visible="false"
|
|
app:showAsAction="never"
|
|
tools:visible="true" />
|
|
|
|
<item
|
|
android:id="@+id/menu_thread_timeline_view_in_room"
|
|
android:icon="@drawable/ic_threads_view_in_room_24"
|
|
android:title="@string/action_thread_view_in_room"
|
|
app:iconTint="?vctr_content_secondary"
|
|
app:showAsAction="withText" />
|
|
|
|
<item
|
|
android:id="@+id/menu_thread_timeline_copy_link"
|
|
android:icon="@drawable/ic_thread_link_menu_item"
|
|
android:title="@string/action_thread_copy_link_to_thread"
|
|
app:iconTint="?vctr_content_secondary"
|
|
app:showAsAction="withText" />
|
|
|
|
<item
|
|
android:id="@+id/menu_thread_timeline_share"
|
|
android:icon="@drawable/ic_thread_share_menu_item"
|
|
android:title="@string/action_share"
|
|
app:iconTint="?vctr_content_secondary"
|
|
app:showAsAction="withText" />
|
|
</menu>
|