skip to Main Content

Android Studio – i am having problem on creating bottomNavigationView related to height, the height is doubled as i expected even when the height is set to wrap

<com.google.android.material.bottomnavigation.BottomNavigationView android:id="@+id/bottomAppBar" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/primary" app:itemIconSize="20dp" app:itemTextAppearanceActive="@style/BottomNavigationView.Active" app:itemTextAppearanceInactive="@style/BottomNavigationView.Inactive" android:layout_alignParentBottom="true" app:menu="@menu/bottom_menu"/> enter image description here i am expecting default height of the bottom navigation view.

VIEW QUESTION

Flutter – Bottom navigation bar not showing/working?

This is my home screen. import 'package:flutter/material.dart'; import 'package:quotationbox/screens/Drawer/drawer.dart'; import '../Dashboard/CategoryFragment.dart'; import '../Dashboard/FilterFragment.dart'; import '../Dashboard/HomeFragment.dart'; import '../Dashboard/NotificationFragment.dart'; import '../Dashboard/ProfileFragment.dart'; class HomeScreen extends StatefulWidget { @override _HomeScreenState createState() => _HomeScreenState(); } class _HomeScreenState extends State with TickerProviderStateMixin { int _currentIndex =…

VIEW QUESTION
Back To Top
Search