My Floating Action Button is not working with the drawer. I'm not able to click on a button and also not able to set it's position. I tried the same code in other .xml file without a drawer and it was working perfectly.
I also tried with the <FrameLayout></FrameLayout>
but still no luck. I am using API 23. Any suggestions??
My file..
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
tools:context="com.example.dipen.transporter.MyPostActivity"
android:theme="@style/AppTheme">
<android.support.design.widget.FloatingActionButton
android:id="@+id/myFAB"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_add_white_24dp_1x"
app:backgroundTint="@color/primaryBlue"
android:layout_gravity="bottom|right"
android:layout_marginBottom="30dp"
android:layout_marginRight="30dp"
android:layout_marginEnd="30dp"
app:elevation="6dp"
app:pressedTranslationZ="12dp"
app:fabSize="normal"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true" />
</RelativeLayout>