From 4a9bf1119efe0c2304a7b8b456aab8af504c388d Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Fri, 21 May 2021 16:00:40 -0400 Subject: [PATCH] show bottom navigation in pvv2 --- .../main/java/awais/instagrabber/activities/MainActivity.java | 1 + app/src/main/res/layout/dialog_post_view.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/src/main/java/awais/instagrabber/activities/MainActivity.java b/app/src/main/java/awais/instagrabber/activities/MainActivity.java index 00935c2f..943b56f3 100644 --- a/app/src/main/java/awais/instagrabber/activities/MainActivity.java +++ b/app/src/main/java/awais/instagrabber/activities/MainActivity.java @@ -412,6 +412,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage showBottomViewDestinations = currentTabs.stream() .map(Tab::getStartDestinationFragmentId) .collect(Collectors.toList()); + showBottomViewDestinations.add(R.id.postViewFragment); if (setDefaultTabFromSettings) { setSelectedTab(currentTabs); } else { diff --git a/app/src/main/res/layout/dialog_post_view.xml b/app/src/main/res/layout/dialog_post_view.xml index fa67ecdf..ccbec7a5 100644 --- a/app/src/main/res/layout/dialog_post_view.xml +++ b/app/src/main/res/layout/dialog_post_view.xml @@ -5,6 +5,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="?colorSurface" + android:paddingBottom="?attr/actionBarSize" tools:context=".fragments.PostViewV2Fragment">