注册

Android滑动式菜单 SlidingMenu

本帖最后由 天使牛 于 2015-2-22 18:46 编辑

SlidingMenu 是 Android 上实现类似 Facebook 和 Path 2.0 滑动式菜单的组件。

~9$D2XOO3417[0SX2H25JNA.png



使用方法:
xmlns:sliding="**://schemas.android.com/apk/res-auto"
android:id="@+id/slidingmenulayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
sliding:viewAbove="@layout/YOUR_ABOVE_VIEW"
sliding:viewBehind="@layout/YOUR_BEHIND_BEHIND"
sliding:touchModeAbove="margin|fullscreen"
sliding:touchModeBehind="margin|fullscreen"
sliding:behindOffset="@dimen/YOUR_OFFSET"
sliding:behindScrollScale="@dimen/YOUR_SCALE"
sliding:shadowDrawable="@drawable/YOUR_SHADOW"
sliding:shadowWidth="@dimen/YOUR_SHADOW_WIDTH" />

QQ图片20150523191959.png




Snip20150523_5.png




FC03AF6E-5EF7-4DE9-BF62-F44B5DCC8DC3.png



QQ图片20150523191959.png



Snip20150523_5.png



FC03AF6E-5EF7-4DE9-BF62-F44B5DCC8DC3.png



已邀请:

要回复问题请先登录注册