diff options
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> |