diff options
Diffstat (limited to '')
4 files changed, 35 insertions, 6 deletions
diff --git a/app/src/main/res/drawable/ic_baseline_bookmark_24px.xml b/app/src/main/res/drawable/ic_baseline_bookmark_24px.xml new file mode 100644 index 00000000..a7ff3655 --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_bookmark_24px.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:fillColor="#FFFFFFFF" + android:pathData="M17,3H7c-1.1,0 -1.99,0.9 -1.99,2L5,21l7,-3 7,3V5c0,-1.1 -0.9,-2 -2,-2z"/> +</vector> diff --git a/app/src/main/res/drawable/ic_baseline_bookmark_border_24px.xml b/app/src/main/res/drawable/ic_baseline_bookmark_border_24px.xml new file mode 100644 index 00000000..71382d27 --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_bookmark_border_24px.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:fillColor="#FFFFFFFF" + android:pathData="M17,3L7,3c-1.1,0 -1.99,0.9 -1.99,2L5,21l7,-3 7,3L19,5c0,-1.1 -0.9,-2 -2,-2zM17,18l-5,-2.18L7,18L7,5h10v13z"/> +</vector> 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 f8c546f0..756f51b7 100644 --- a/app/src/main/res/menu/view_post_detail_activity.xml +++ b/app/src/main/res/menu/view_post_detail_activity.xml @@ -9,40 +9,47 @@ app:showAsAction="ifRoom" /> <item - android:id="@+id/action_refresh_view_post_detail_activity" + android:id="@+id/action_save_view_post_detail_activity" android:orderInCategory="2" + android:title="@string/action_add_comment" + app:showAsAction="ifRoom" + android:visible="false" /> + + <item + android:id="@+id/action_refresh_view_post_detail_activity" + android:orderInCategory="3" android:title="@string/action_refresh" app:showAsAction="never" /> <item android:id="@+id/action_edit_view_post_detail_activity" - android:orderInCategory="3" + android:orderInCategory="4" android:title="@string/action_edit_post" app:showAsAction="never" android:visible="false" /> <item android:id="@+id/action_delete_view_post_detail_activity" - android:orderInCategory="4" + android:orderInCategory="5" android:title="@string/action_delete_post" app:showAsAction="never" android:visible="false" /> <item android:id="@+id/action_nsfw_view_post_detail_activity" - android:orderInCategory="5" + android:orderInCategory="6" app:showAsAction="never" android:visible="false" /> <item android:id="@+id/action_spoiler_view_post_detail_activity" - android:orderInCategory="6" + android:orderInCategory="7" app:showAsAction="never" android:visible="false" /> <item android:id="@+id/action_edit_flair_view_post_detail_activity" - android:orderInCategory="7" + android:orderInCategory="8" android:title="@string/action_edit_flair" app:showAsAction="never" android:visible="false" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a5a170d3..37a3518f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -206,6 +206,10 @@ <string name="press_here_to_login">Press here to login</string> <string name="login_first">Login first</string> + <string name="post_saved_success">Post saved</string> + <string name="post_saved_failed">Unable to save post</string> + <string name="post_unsaved_success">Post unsaved</string> + <string name="post_unsaved_failed">Unable to unsave post</string> <string name="delete_this_post">Delete This Post</string> <string name="delete_this_comment">Delete This Comment</string> <string name="are_you_sure">Are you sure?</string> |