BottomSheet fly away with visibility change

后端 未结 6 958
一个人的身影
一个人的身影 2020-12-28 17:44

I have a bottom sheet with a NestedScrollView inside (see below). When I press on a FAB button, I want to make some parts in this NestedScrollView invisible. But when I chan

6条回答
  •  抹茶落季
    2020-12-28 18:15

    Change View.GONE to View.INVISIBLE. Since the View.GONE has no size, the bottom sheet can't compute the height of the child being updated.

提交回复
热议问题