Part of Fragment items hides under Action bar : <p>I am learning android dev and my question might be very simple. I am stuck at the below part and requesting your help</p>

<p><strong>Description</strong></p>

<p>I am using the android's default "Navigation Drawer" activity to implement a small project. I have created a fragment and when user selects an option from Navigation drawer, the fragment opens. </p>

<p><strong>Problem faced</strong></p>

<p>When the fragment opens, part of the fragment &amp; action bar is clipped. Image below<a href="https://i.stack.imgur.com/1jTnA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1jTnA.png" alt="enter image description here"></a></p>

<p><strong>Code</strong></p>

<p><strong>fragment layout</strong></p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:clipToPadding="false"
android:orientation="vertical"
android:background="#ffffff"
android:layout_weight="120"
tools:context="test.navigationdrawcheck.RateCalculator"&gt;

  &lt;EditText
    android:layout_width="wrap_content"
    android:layout_height="5dp"
    android:inputType="number"
    android:ems="12"
    android:gravity="center"
    android:layout_weight="10"
    android:hint="text 1"
    android:textColorHint="@color/colorDivider"
    android:id="@+id/editText"
    android:layout_gravity="center_horizontal" /&gt;

&lt;EditText
    android:layout_width="wrap_content"
    android:layout_height="5dp"
    android:inputType="number"
    android:hint="text 2"
    android:textColorHint="@color/colorDivider"
    android:ems="12"
    android:gravity="center"
    android:layout_weight="10"
    android:id="@+id/editText1"
    android:layout_gravity="center_horizontal" /&gt;

&lt;EditText
    android:layout_width="wrap_content"
    android:layout_height="5dp"
    android:inputType="number"
    android:hint="text 3"
    android:textColorHint="@color/colorDivider"
    android:ems="12"
    android:gravity="center"
    android:layout_weight="10"
    android:id="@+id/editText3"
    android:layout_gravity="center_horizontal" /&gt;

&lt;EditText
    android:layout_width="wrap_content"
    android:layout_height="5dp"
    android:inputType="number"
    android:hint="text 4"
    android:textColorHint="@color/colorDivider"
    android:ems="12"
    android:gravity="center"
    android:layout_weight="10"
    android:id="@+id/editText4"
    android:layout_gravity="center_horizontal" /&gt;

&lt;TextView
    android:layout_width="wrap_content"
    android:layout_height="15dp"
    android:textAppearance="?android:attr/textAppearanceMedium"
    android:text="Total "
    android:textColor="@color/colorDivider"
    android:layout_weight="10"
    android:textStyle="bold"
    android:gravity="center_vertical"
    android:id="@+id/textView"
    android:layout_gravity="center_horizontal"
    /&gt;

&lt;Button
    android:layout_width="match_parent"
    android:layout_height="10dp"
    android:inputType="number"
    android:ems="15"
    android:gravity="center"
    android:layout_weight="5"
    android:id="@+id/editText6"
    android:text="Submit"
    android:textSize="20sp"
    android:textColor="@color/colorWhite"
    android:background="@color/colorPrimary"
    android:layout_gravity="center_horizontal" /&gt;
</code></pre>

<p></p>

<p><strong>App Bar Code</strong></p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;android.support.design.widget.CoordinatorLayout 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:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true"
    tools:context="test.navigationdrawcheck.MainActivity"&gt;

    &lt;android.support.design.widget.AppBarLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:fitsSystemWindows="true"
        android:theme="@style/AppTheme.AppBarOverlay"&gt;


        &lt;android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:elevation="4dp"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            android:background="?attr/colorPrimary"
            android:fitsSystemWindows="true"
            app:popupTheme="@style/AppTheme.PopupOverlay"/&gt;

    &lt;/android.support.design.widget.AppBarLayout&gt;

    &lt;FrameLayout
        android:id="@+id/framecheck"
        android:layout_width="match_parent"
        android:layout_height="match_parent"&gt;

    &lt;/FrameLayout&gt;

    &lt;android.support.design.widget.FloatingActionButton
        android:id="@+id/fab"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom|end"
        android:layout_margin="@dimen/fab_margin"
        android:src="@android:drawable/ic_dialog_email" /&gt;

&lt;/android.support.design.widget.CoordinatorLayout&gt;
</code></pre>

<p><strong>Actual output i am looking for</strong> </p>

<p>Below is my actual fragment layout xml. <strong>When i merge it with Navigation drawer it should not be clipped</strong> and fragment items should be displayed correctly</p>

<p><a href="https://i.stack.imgur.com/88DQw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/88DQw.png" alt="enter image description here"></a></p>

<p><strong>What I have tried so far</strong></p>

<p>I tried adding this <code>android:windowActionBarOverlay=false</code> in my styles.xml but no luck</p>

<p>Requesting your suggestions</p>
