嘿,我需要一些来自屏幕底部的滑动菜单。我看到 SlidingDrawer 已被弃用。
那么SlidingDrawer的替代品是什么,我可以用来从底部向上滑动。
我知道有NavigationDrawer,但我认为它只能用于从左到右和反向滑动,或者?
最佳答案
查看这个库
https://github.com/umano/AndroidSlidingUpPanel
它来自 umano app ,已经发布了一些代码。
The 2.2 version of the Umano Android app features a sexy sliding up draggable panel for the currently playing article. This type of a panel is a common pattern also used in the Google Music app and the Rdio app. This is an open source implementation of this component that you are free to take advantage of in your apps. Umano Team <3 Open Source.
关于android - 已弃用的 SlidingDrawer 的替代方案是什么?从底部向上滑动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20564331/