Changed the min Sdk version from 23 to 30 and replaced android v7 and app compat dependencies to androidx dependencies and also changed the fragment_main xml file as the floating action bar layout_anchor property should not be the coordinator layout starting from support design library v.23.2.0 which caused app crash therefore, I've also tried to fix this issue.
Changed the min Sdk version from 23 to 30 and replaced android v7 and app compat dependencies to androidx dependencies and also changed the fragment_main xml file as the floating action bar layout_anchor property should not be the coordinator layout starting from support design library v.23.2.0 which caused app crash therefore, I've also tried to fix this issue.