1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-15 19:27:31 +00:00

show bottom navigation in pvv2

This commit is contained in:
Austin Huang 2021-05-21 16:00:40 -04:00
parent 5c3f346182
commit 4a9bf1119e
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
2 changed files with 2 additions and 0 deletions

View File

@ -412,6 +412,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
showBottomViewDestinations = currentTabs.stream() showBottomViewDestinations = currentTabs.stream()
.map(Tab::getStartDestinationFragmentId) .map(Tab::getStartDestinationFragmentId)
.collect(Collectors.toList()); .collect(Collectors.toList());
showBottomViewDestinations.add(R.id.postViewFragment);
if (setDefaultTabFromSettings) { if (setDefaultTabFromSettings) {
setSelectedTab(currentTabs); setSelectedTab(currentTabs);
} else { } else {

View File

@ -5,6 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?colorSurface" android:background="?colorSurface"
android:paddingBottom="?attr/actionBarSize"
tools:context=".fragments.PostViewV2Fragment"> tools:context=".fragments.PostViewV2Fragment">
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout