diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-06-06 04:05:11 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-06-06 04:05:11 +0000 |
commit | fe4ba7501e25a47db5f2fa20029c2bdbce4b7a11 (patch) | |
tree | 5a0bdd75be3ab43acc7af497c0a037136c8afa94 /app/src/main/res | |
parent | 7d8c497c77683a249f9fe9c80d7e9b80d9ff39a9 (diff) | |
download | infinity-for-reddit-fe4ba7501e25a47db5f2fa20029c2bdbce4b7a11.tar infinity-for-reddit-fe4ba7501e25a47db5f2fa20029c2bdbce4b7a11.tar.gz infinity-for-reddit-fe4ba7501e25a47db5f2fa20029c2bdbce4b7a11.tar.bz2 infinity-for-reddit-fe4ba7501e25a47db5f2fa20029c2bdbce4b7a11.tar.lz infinity-for-reddit-fe4ba7501e25a47db5f2fa20029c2bdbce4b7a11.tar.xz infinity-for-reddit-fe4ba7501e25a47db5f2fa20029c2bdbce4b7a11.tar.zst infinity-for-reddit-fe4ba7501e25a47db5f2fa20029c2bdbce4b7a11.zip |
Refresh post in ViewPostDetailActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/menu/view_post_detail_activity.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/app/src/main/res/menu/view_post_detail_activity.xml b/app/src/main/res/menu/view_post_detail_activity.xml new file mode 100644 index 00000000..c0f667f9 --- /dev/null +++ b/app/src/main/res/menu/view_post_detail_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_refresh_view_post_detail_activity" + android:orderInCategory="2" + android:title="@string/action_refresh" + android:icon="@drawable/ic_refresh_white_24dp" + app:showAsAction="always" /> +</menu>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 85fc75f9..bf1a320d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -26,6 +26,7 @@ <string name="comments">Comments</string> <string name="no_comments_yet">No comments yet. Write a comment?</string> <string name="vote_failed">Vote failed</string> + <string name="refresh_post_failed">Error refreshing the post</string> <string name="nsfw">NSFW</string> <string name="karma_info">Karma: %1$d</string> |