diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-28 02:21:32 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-28 02:21:32 +0000 |
commit | 30d2abe9c691bf1603495bd7ae1abebbc447e0a8 (patch) | |
tree | 256db97d2bc51022890c88133703314a3cf66569 /app/src/main/res | |
parent | 2133231d524cf40f78682d0763656fb6a99e536c (diff) | |
download | infinity-for-reddit-30d2abe9c691bf1603495bd7ae1abebbc447e0a8.tar infinity-for-reddit-30d2abe9c691bf1603495bd7ae1abebbc447e0a8.tar.gz infinity-for-reddit-30d2abe9c691bf1603495bd7ae1abebbc447e0a8.tar.bz2 infinity-for-reddit-30d2abe9c691bf1603495bd7ae1abebbc447e0a8.tar.lz infinity-for-reddit-30d2abe9c691bf1603495bd7ae1abebbc447e0a8.tar.xz infinity-for-reddit-30d2abe9c691bf1603495bd7ae1abebbc447e0a8.tar.zst infinity-for-reddit-30d2abe9c691bf1603495bd7ae1abebbc447e0a8.zip |
Continue submitting posts even if the user leave PostXXXActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/app_bar_main.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/content_main.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 4 |
3 files changed, 2 insertions, 14 deletions
diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml index 5039ca20..5a0f4287 100644 --- a/app/src/main/res/layout/app_bar_main.xml +++ b/app/src/main/res/layout/app_bar_main.xml @@ -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" diff --git a/app/src/main/res/layout/content_main.xml b/app/src/main/res/layout/content_main.xml deleted file mode 100644 index 6f29dd60..00000000 --- a/app/src/main/res/layout/content_main.xml +++ /dev/null @@ -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" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4dbf4a7e..85a70bbb 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -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> |