标签: android material-design
我的班级从BottomSheetDialogFragment延伸,现在工作正常。但是我不知道如何设置折叠高度(BottomSheet Behavior上的setPeekHeight)。
BottomSheetDialogFragment
setPeekHeight
我想知道的另一件事是:如何仅在BottomSheet折叠时左右设置边距?就像下面的截图一样。
折叠:
展开: