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

Error :app:kaptGenerateStubsDebugKotlin and Unknown Kotlin JVM target: 21 after changing Android studio from Iguana to LadyBug

Please help. I changed Android studio from Iguana to LadyBug and the project does not compile. There are two errors during compilation :app:kaptGenerateStubsDebugKotlin' and Unknown Kotlin JVM target: 21: Execution failed for task ':app:kaptGenerateStubsDebugKotlin'. > Error while evaluating property 'compilerOptions.jvmTarget'…

VIEW QUESTION
Back To Top
Search