Display an alert dialog if the user want to cancel submitting a post or press back button when there is something written in PostXXXActivity. Minor bugs fixed.

This commit is contained in:
Alex Ning
2019-08-27 18:18:55 +08:00
parent 995701174d
commit 942e2d52a4
9 changed files with 278 additions and 31 deletions

View File

@@ -279,4 +279,11 @@
<string name="settings_credits_material_icons_title">Material Icons</string>
<string name="no_link_available">Cannot get the link</string>
<string name="cancel_submit_post">Cancel Submitting</string>
<string name="cancel_submit_post_detail">The post may still be submitted even if you cancel here.</string>
<string name="discard_post">Discard?</string>
<string name="discard_post_detail">All the draft will not be saved.</string>
<string name="yes">Yes</string>
<string name="no">No</string>
</resources>