[英]How to create a navigation that open from bottom of screen?
I want to create some thing like drawer menu that open from bottom of screen.我想创建一些东西,比如从屏幕底部打开的抽屉菜单。 some thing like blow image.像吹图像这样的东西。 Also I want to know is that any special name?另外我想知道那个有什么特殊的名字吗?
It's called a SlidingDrawer
.它被称为SlidingDrawer
。 It was on the SDK but got deprecated a while back.它在 SDK 上,但不久前被弃用了。
That said, this thrid-party library should do the job just as good.也就是说,这个第三方库应该也能很好地完成这项工作。 I've used it in multiple projects.我在多个项目中使用过它。
You can use BottomSheet library.您可以使用 BottomSheet 库。 It works on Android 2.1+它适用于 Android 2.1+
https://github.com/soarcn/BottomSheet https://github.com/soarcn/BottomSheet
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.