aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-09-02 14:45:10 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-09-02 14:45:10 +0000
commit0107bba62ac3dfdd71301f7511e896ccda58bebb (patch)
tree6402a048d60bf45b1bbe503a8895f831667dee4e /app/src/main/res/layout
parent56d82d133f7d9ecbe98c543d18a2a071ffe27c3e (diff)
downloadinfinity-for-reddit-0107bba62ac3dfdd71301f7511e896ccda58bebb.tar
infinity-for-reddit-0107bba62ac3dfdd71301f7511e896ccda58bebb.tar.gz
infinity-for-reddit-0107bba62ac3dfdd71301f7511e896ccda58bebb.tar.bz2
infinity-for-reddit-0107bba62ac3dfdd71301f7511e896ccda58bebb.tar.lz
infinity-for-reddit-0107bba62ac3dfdd71301f7511e896ccda58bebb.tar.xz
infinity-for-reddit-0107bba62ac3dfdd71301f7511e896ccda58bebb.tar.zst
infinity-for-reddit-0107bba62ac3dfdd71301f7511e896ccda58bebb.zip
Fix showing wrong post feed in the second tab in MainActivity.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_view_subreddit_detail.xml12
-rw-r--r--app/src/main/res/layout/activity_view_user_detail.xml12
2 files changed, 12 insertions, 12 deletions
diff --git a/app/src/main/res/layout/activity_view_subreddit_detail.xml b/app/src/main/res/layout/activity_view_subreddit_detail.xml
index d8c471fd..bdb46784 100644
--- a/app/src/main/res/layout/activity_view_subreddit_detail.xml
+++ b/app/src/main/res/layout/activity_view_subreddit_detail.xml
@@ -7,12 +7,6 @@
android:id="@+id/coordinator_layout_view_subreddit_detail_activity"
tools:application=".Activity.ViewSubredditDetailActivity">
- <androidx.viewpager2.widget.ViewPager2
- android:id="@+id/view_pager_view_subreddit_detail_activity"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
-
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_view_subreddit_detail_activity"
android:layout_width="match_parent"
@@ -172,6 +166,12 @@
</com.google.android.material.appbar.AppBarLayout>
+ <androidx.viewpager2.widget.ViewPager2
+ android:id="@+id/view_pager_view_subreddit_detail_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior" />
+
<include
layout="@layout/bottom_app_bar"
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/activity_view_user_detail.xml b/app/src/main/res/layout/activity_view_user_detail.xml
index 4711b75d..3d5501da 100644
--- a/app/src/main/res/layout/activity_view_user_detail.xml
+++ b/app/src/main/res/layout/activity_view_user_detail.xml
@@ -7,12 +7,6 @@
android:id="@+id/coordinator_layout_view_user_detail_activity"
tools:application=".ViewUserDetailActivity">
- <androidx.viewpager2.widget.ViewPager2
- android:id="@+id/view_pager_view_user_detail_activity"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
-
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout_view_user_detail"
android:layout_width="match_parent"
@@ -139,6 +133,12 @@
</com.google.android.material.appbar.AppBarLayout>
+ <androidx.viewpager2.widget.ViewPager2
+ android:id="@+id/view_pager_view_user_detail_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior" />
+
<include
layout="@layout/bottom_app_bar"
android:layout_width="match_parent"