开发者

SlidingDrawer on top

开发者 https://www.devze.com 2023-01-05 23:32 出处:网络
Is there any way to set my sliding drawer on top of开发者_StackOverflow other elements in my layout? I have an ImageView which is intended for an album art and I would like to have a sliding drawer ov

Is there any way to set my sliding drawer on top of开发者_StackOverflow other elements in my layout? I have an ImageView which is intended for an album art and I would like to have a sliding drawer overlay at the bottom of that ImageView.


That's not a feature in the SDK, but fortunately there's someone who implemented by himself. Take a look of this project: android-misc-widgets. By using that thirdy part library you can get something like this:

SlidingDrawer on top

Here you can get extra information: http://www.anddev.org/viewtopic.php?p=16622


I think I misunderstood your question earlier. If you want the slider handle to appear on top of a widget or image, then you can easily use bottomOffset attribute of the SlidingDrawer.

0

精彩评论

暂无评论...
验证码 换一张
取 消