推右侧活动开抽屉时, [英] push activity on the right when open drawer

查看:116
本文介绍了推右侧活动开抽屉时,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经实现drawerlayout滑动的权利,但它并没有转移的活动,如Facebook的权利没有(见下图)。我如何将当前活动到右侧,当用户点击opendrawer按钮,如上面的image.Currently它出现在活动的顶部和下降shadow.I真的AP preciate任何帮助。先谢谢了。

I have implemented drawerlayout which slides from the right but it does not shift the activity the right like facebook does (See below image). How do I push the current activity to the right side when user taps on opendrawer button like in the above image.Currently it appears on top of activity and drops shadow.I really appreciate any help . Thanks in advance.

输入图像的描述在这里

推荐答案

我不认为你可以与股票 DrawerLayout 实现它,但是与 SlidingMenu 就可以了, GitHub的回购这里应该说明你所需要的

I don't think you can implement it with the stock DrawerLayout, however with SlidingMenu you can, the GitHub repo here should explain all you need

这篇关于推右侧活动开抽屉时,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆