2016-06-04 17:10:24 +02:00
|
|
|
<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=".activity.MainActivity">
|
|
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
android:id="@+id/action_search"
|
2016-09-15 22:09:07 +02:00
|
|
|
android:icon="@drawable/ic_search_white_48px"
|
2016-06-04 17:10:24 +02:00
|
|
|
app:showAsAction="always"
|
2016-08-06 01:35:52 +02:00
|
|
|
android:title="@string/action_search_by_tags_or_persons" />
|
2016-06-04 17:10:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
android:id="@+id/action_compose"
|
2016-09-15 22:09:07 +02:00
|
|
|
android:icon="@drawable/ic_mode_edit_white_48px"
|
2016-06-04 17:10:24 +02:00
|
|
|
app:showAsAction="always"
|
2016-08-07 00:32:30 +02:00
|
|
|
android:title="@string/action_compose_new_post" />
|
2016-06-04 17:10:24 +02:00
|
|
|
|
|
|
|
<item
|
2016-08-07 23:51:31 +02:00
|
|
|
android:icon="@drawable/ic_share_white_48px"
|
2016-08-06 01:35:52 +02:00
|
|
|
android:title="@string/action_share_dotdotdot"
|
2016-06-04 17:10:24 +02:00
|
|
|
app:showAsAction="always" >
|
|
|
|
<menu>
|
2016-08-23 21:23:36 +02:00
|
|
|
<item android:id="@+id/action_share_screenshot" android:title="@string/share__share_screenshot"/>
|
|
|
|
<item android:id="@+id/action_take_screenshot" android:title="@string/share__take_screenshot"/>
|
|
|
|
<item android:id="@+id/action_share_link" android:title="@string/share__share_link_as_text"/>
|
2016-06-04 17:10:24 +02:00
|
|
|
</menu>
|
2016-06-04 17:56:08 +02:00
|
|
|
</item>
|
2016-06-04 17:10:24 +02:00
|
|
|
|
|
|
|
<!-- Keep right most -->
|
|
|
|
<item
|
|
|
|
android:id="@+id/action_go_to_top"
|
2016-09-15 22:09:07 +02:00
|
|
|
android:icon="@drawable/ic_arrow_upward_white_48px"
|
2016-08-06 01:35:52 +02:00
|
|
|
android:title="@string/action_go_to_top"
|
2016-06-04 17:10:24 +02:00
|
|
|
app:showAsAction="always"/>
|
|
|
|
|
|
|
|
<!-- overflow menu -->
|
2016-06-17 19:43:28 +02:00
|
|
|
<item
|
|
|
|
android:id="@+id/action_toggle_desktop_page"
|
2016-08-07 23:51:31 +02:00
|
|
|
android:icon="@drawable/ic_sync_white_48px"
|
2016-08-26 17:08:57 +02:00
|
|
|
android:title="@string/action_toggle_desktop_page" />
|
|
|
|
|
2016-06-04 17:10:24 +02:00
|
|
|
<item
|
|
|
|
android:id="@+id/action_exit"
|
2016-08-06 01:35:52 +02:00
|
|
|
android:title="@string/action_exit_app"
|
2016-06-04 17:10:24 +02:00
|
|
|
app:showAsAction="never" />
|
|
|
|
|
|
|
|
</menu>
|