<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".views.MainActivity"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <androidx.fragment.app.FragmentContainerView android:id="@+id/fragment_container" android:name="com.example.citrusclient.views.CreateBookFragment" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" /> <com.google.android.material.bottomnavigation.BottomNavigationView android:id="@+id/bottomNavigationView" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="bottom" android:layout_weight="8" android:background="#BAE4C3" android:minHeight="50dp" app:itemHorizontalTranslationEnabled="false" app:itemIconSize="30dp" app:itemIconTint="@drawable/bottom_navigation_item_state" app:itemPaddingBottom="0dp" app:itemPaddingTop="-50dp" app:itemTextAppearanceActiveBoldEnabled="true" app:itemTextColor="@drawable/bottom_navigation_item_state" app:menu="@menu/bottom_navigation_item" /> </LinearLayout> </androidx.constraintlayout.widget.ConstraintLayout>