Hi I am trying to anchor Fab button to BottomSheetDialog but it is not working. EDITED Here is My Dialog
public static class QuickInfoDialog
You should use CoordinatorLayout as the direct parent of FAB and the View which is used as anchor for the FAB.
Then the line app:layout_anchor="@id/app_bar_layout"
means, this FAB is anchor to the View which has the id "app_bar_layout". But it seems you dont have any View with id "app_bar_layout.