-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🤯需求池 #11
Comments
overlayer 可否pin住,不让拖拽,是否可以记住拖拽的位置? |
bottom sheet 的时候可以设置navigationBarColor 吗 |
@guangxingmao 你可以复写fitDecorInsets方法,让navigationbar的高度显示在自己的布局里面。 object : DialogLayer(this) {
override fun fitDecorInsets(insets: Rect) {
// 移除原有的边距设置
// super.fitDecorInsets(insets)
// 设置边距到自己的根布局
viewHolder.content.setPadding(0, 0, 0, insets.bottom)
}
}
.contentView(R.layout.bottom_sheet)
.gravity(Gravity.BOTTOM)
.swipeDismiss(SwipeLayout.Direction.BOTTOM)
.backgroundDimDefault()
.animStyle(AnimStyle.BOTTOM)
.onClickToDismiss(R.id.bottom_sheet_fl_close)
.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: