diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-06-13 04:16:04 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-06-13 04:16:04 +0000 |
commit | 42c7b316f37b17178518cbf9649a788fcdf0895c (patch) | |
tree | 907e829a37a3534691f968179a7d8d43af91329d /app/src/main/res/menu | |
parent | ef8daed5714cd02f57774c86aab6bd0ca454fcb7 (diff) | |
download | infinity-for-reddit-42c7b316f37b17178518cbf9649a788fcdf0895c.tar infinity-for-reddit-42c7b316f37b17178518cbf9649a788fcdf0895c.tar.gz infinity-for-reddit-42c7b316f37b17178518cbf9649a788fcdf0895c.tar.bz2 infinity-for-reddit-42c7b316f37b17178518cbf9649a788fcdf0895c.tar.lz infinity-for-reddit-42c7b316f37b17178518cbf9649a788fcdf0895c.tar.xz infinity-for-reddit-42c7b316f37b17178518cbf9649a788fcdf0895c.tar.zst infinity-for-reddit-42c7b316f37b17178518cbf9649a788fcdf0895c.zip |
Add CommentActivity for sending comments (not implemented yet). Minor UI tweaks.
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r-- | app/src/main/res/menu/comment_activity.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/menu/view_post_detail_activity.xml | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/app/src/main/res/menu/comment_activity.xml b/app/src/main/res/menu/comment_activity.xml new file mode 100644 index 00000000..640f6a43 --- /dev/null +++ b/app/src/main/res/menu/comment_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_comment_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 c0f667f9..f5b327d8 100644 --- a/app/src/main/res/menu/view_post_detail_activity.xml +++ b/app/src/main/res/menu/view_post_detail_activity.xml @@ -2,9 +2,15 @@ <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item + android:id="@+id/action_comment_view_post_detail_activity" + android:orderInCategory="1" + android:title="@string/action_add_comment" + android:icon="@drawable/ic_insert_comment_white_24dp" + app:showAsAction="ifRoom" /> + + <item android:id="@+id/action_refresh_view_post_detail_activity" android:orderInCategory="2" android:title="@string/action_refresh" - android:icon="@drawable/ic_refresh_white_24dp" - app:showAsAction="always" /> + app:showAsAction="never" /> </menu>
\ No newline at end of file |