mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 21:29:54 +01:00
Move create forum post and share forum buttons in action bar
This also introduces constants for the GROUP_ID, FORUM_NAME and MIN_TIMESTAMP as they were used for the two buttons. Closes #313
This commit is contained in:
18
briar-android/res/menu/forum_actions.xml
Normal file
18
briar-android/res/menu/forum_actions.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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:id="@+id/action_forum_compose_post"
|
||||
android:icon="@drawable/forum_item_create_white"
|
||||
android:title="@string/forum_compose_post"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_forum_share"
|
||||
android:icon="@drawable/social_share_white"
|
||||
android:title="@string/forum_share_button"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
</menu>
|
||||
Reference in New Issue
Block a user