<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    android:layout_height="match_parent"
    tools:context=".Activities.MainActivity">

    <LinearLayout
        android:orientation="vertical"
        android:fitsSystemWindows="false"
        android:layout_width="match_parent"
        android:layout_height="90sp"
        android:background="@drawable/gradient_green"
        android:gravity="bottom"
        >

        <androidx.appcompat.widget.Toolbar
            android:layout_width="match_parent"
            android:layout_height="?actionBarSize"
            android:theme="@style/ToolBarTheme"
            android:id="@+id/toolbar"
            />

    </LinearLayout>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <com.techstudio.anonymouscall.Viewpager.CustomViewPager
            android:id="@+id/pager"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_above="@id/bottom_nav"
            app:layout_behavior="@string/appbar_scrolling_view_behavior"/>

            <com.google.android.material.bottomnavigation.BottomNavigationView
                android:layout_gravity="bottom"
                android:id="@+id/bottom_nav"
                android:background="@color/white"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentBottom="true"
                android:elevation="10dp"
                android:focusedByDefault="true"
                app:elevation="10dp"
                app:itemIconTint="@drawable/bottom_navigation_selector"
                app:itemTextColor="@color/grey_text"
                app:labelVisibilityMode="labeled"
                app:menu="@menu/bottom_navigation" />

    </RelativeLayout>

</LinearLayout>