diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-12 09:20:33 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-12 09:20:33 +0000 |
commit | b1b3642ca8ceb159282dc684be2d75afa4b37a91 (patch) | |
tree | 9a3705247f903aed74c158c9ffb3f56f0a1b5e19 /app/src/main/res/menu | |
parent | 4df18af91447d7fcd9768f0b5a8f71974f826280 (diff) | |
download | infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar.gz infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar.bz2 infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar.lz infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar.xz infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar.zst infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.zip |
Deleting and editing posts are now available.
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r-- | app/src/main/res/menu/edit_post_activity.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/menu/view_post_detail_activity.xml | 14 |
2 files changed, 24 insertions, 0 deletions
diff --git a/app/src/main/res/menu/edit_post_activity.xml b/app/src/main/res/menu/edit_post_activity.xml new file mode 100644 index 00000000..270d7664 --- /dev/null +++ b/app/src/main/res/menu/edit_post_activity.xml @@ -0,0 +1,10 @@ +<?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_send_edit_post_activity" + android:orderInCategory="1" + android:title="@string/action_send" + android:icon="@drawable/ic_send_white_24dp" + app:showAsAction="ifRoom" /> +</menu>
\ No newline at end of file diff --git a/app/src/main/res/menu/view_post_detail_activity.xml b/app/src/main/res/menu/view_post_detail_activity.xml index f5b327d8..76e2db37 100644 --- a/app/src/main/res/menu/view_post_detail_activity.xml +++ b/app/src/main/res/menu/view_post_detail_activity.xml @@ -13,4 +13,18 @@ android:orderInCategory="2" android:title="@string/action_refresh" app:showAsAction="never" /> + + <item + android:id="@+id/action_edit_view_post_detail_activity" + android:orderInCategory="3" + android:title="@string/action_edit_post" + app:showAsAction="never" + android:visible="false" /> + + <item + android:id="@+id/action_delete_view_post_detail_activity" + android:orderInCategory="3" + android:title="@string/action_delete_post" + app:showAsAction="never" + android:visible="false" /> </menu>
\ No newline at end of file |