Continue submitting posts even if the user leave PostXXXActivity.

This commit is contained in:
Alex Ning
2019-08-28 10:21:32 +08:00
parent 2133231d52
commit 30d2abe9c6
10 changed files with 57 additions and 181 deletions

View File

@@ -58,8 +58,6 @@
android:elevation="1dp"
android:visibility="gone" />
<!--<include layout="@layout/content_main" />-->
<androidx.viewpager.widget.ViewPager
android:id="@+id/view_pager_main_activity"
android:layout_width="match_parent"

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/frame_layout_content_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:application="ml.docilealligator.infinityforreddit.MainActivity"
tools:showIn="@layout/app_bar_main" />

View File

@@ -280,8 +280,8 @@
<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="exit_when_submit_post">Leave?</string>
<string name="exit_when_submit_post_detail">The post will still be submitted even if you leave 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>