0
在Android中我想使滑动菜单像THIS现在我想使这个滑动菜单相同,但菜单按钮必须在底部。和菜单从底部到顶部打开如何实现这一目标?android滑动菜单从底部到顶部使用片段
I have tried this而This also但我没有得到有用的输出,我想同第一个屏幕截图,但菜单底部,向上扩大到一定的高度(菜单不能覆盖全高)
我想用片段它。
我已经试过这also
我希望它像THIS
在Android中我想使滑动菜单像THIS现在我想使这个滑动菜单相同,但菜单按钮必须在底部。和菜单从底部到顶部打开如何实现这一目标?android滑动菜单从底部到顶部使用片段
I have tried this而This also但我没有得到有用的输出,我想同第一个屏幕截图,但菜单底部,向上扩大到一定的高度(菜单不能覆盖全高)
我想用片段它。
我已经试过这also
我希望它像THIS
我的链接后作为一个答案:https://github.com/umano/AndroidSlidingUpPanel
库将帮助你实现你所需要的。
Umano Android应用程序的2.2版本为当前正在播放的文章提供了一个性感滑动可拖动面板。这种类型的面板也是Google音乐应用和Rdio应用中使用的常见模式。这是该组件的开源实现,您可以在应用程序中免费使用它。 Umano团队开源。
<com.sothree.slidinguppaneldemo.SlidingUpPanelLayout
android:id="@+id/sliding_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Main Content"
android:textSize="16sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center|top"
android:text="The Awesome Sliding Up Panel"
android:textSize="16sp" />
</com.sothree.slidinguppaneldemo.SlidingUpPanelLayout>
请注意,标签不是关键字。填充标签列表中充满您问题中相同的单词(菜单,幻灯片,顶部,底部)将无助于对其进行分类。请务必阅读选择标签时出现的说明! – Charles