This is my code in list view layout xml file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@android:id/empty"
android:text="No schedules available"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</TextView>
<ListView android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:drawSelectorOnTop="false"
android:layout_gravity="right|bottom"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
<ImageButton
android:layout_width="89dp"
android:layout_height="56dp"
android:id="@+id/add_schedule"
android:layout_gravity="right"
android:src="@mipmap/ic_add_fab"
android:background="#00ffffff"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" />
</RelativeLayout>
The button is visible in renderer but not in my emulator. Suggesstions would be a lot helpful This whole setup is in a master detail flow