FloatingActionButton doesn't hide

后端 未结 17 941
星月不相逢
星月不相逢 2020-11-30 03:42

I am trying to hide my FloatingActionButton fabLocation programmatically with :

fabLocation.setVisibility(View.GONE)

but it do

17条回答
  •  Happy的楠姐
    2020-11-30 04:07

    I know that you answer is about how to make it work for gone visibility but if you use invisible instead you will have no worries about that and is less code.

提交回复
热议问题