I imported the design library and android support v7 app-compact library from sdk.
then I wrote code for Floating action button as follows
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:clickable="true"
android:src="@drawable/ic_done"
app:layout_anchor="@id/viewA"
app:layout_anchorGravity="bottom|right|end"/>
But shows the error,
The following class could not be found:android.support.design.widget.FloatingActionButton
help me on this.