Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/229.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android使用fragment从下到上滑动菜单_Android_Slidingmenu - Fatal编程技术网

android使用fragment从下到上滑动菜单

android使用fragment从下到上滑动菜单,android,slidingmenu,Android,Slidingmenu,在安卓系统中,我想让滑动菜单像现在一样,我想让这个滑动菜单保持不变,但菜单按钮必须在底部。菜单是从下到上打开的,我怎样才能做到这一点 但我并没有得到有用的输出,我希望和第一个屏幕截图一样,但菜单在底部,它可以扩展到一定的高度(菜单不能覆盖整个高度) 我要用碎片 我试过这个 我想要它,就像我已经发布了链接作为答案: 图书馆将帮助你实现你所需要的 Umano Android应用程序的2.2版本为当前正在播放的文章提供了一个性感的可向上滑动的可拖动面板。这种类型的面板也是谷歌音乐应用程序和Rdio应用

在安卓系统中,我想让滑动菜单像现在一样,我想让这个滑动菜单保持不变,但菜单按钮必须在底部。菜单是从下到上打开的,我怎样才能做到这一点

但我并没有得到有用的输出,我希望和第一个屏幕截图一样,但菜单在底部,它可以扩展到一定的高度(菜单不能覆盖整个高度)

我要用碎片

我试过这个


我想要它,就像我已经发布了链接作为答案:

图书馆将帮助你实现你所需要的

Umano Android应用程序的2.2版本为当前正在播放的文章提供了一个性感的可向上滑动的可拖动面板。这种类型的面板也是谷歌音乐应用程序和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>

我已将此链接作为答案发布:

图书馆将帮助你实现你所需要的

Umano Android应用程序的2.2版本为当前正在播放的文章提供了一个性感的可向上滑动的可拖动面板。这种类型的面板也是谷歌音乐应用程序和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>


请注意,标记不是关键字。在标签列表中填入与问题相同的单词(菜单、幻灯片、顶部、底部),无助于对其进行分类。务必阅读选择标签时出现的说明!请注意,标记不是关键字。在标签列表中填入与问题相同的单词(菜单、幻灯片、顶部、底部),无助于对其进行分类。务必阅读选择标签时出现的说明!