在谷歌应用程序加抽屉的通知 [英] Notification drawer in google plus app
问题描述
我要实现我喜欢谷歌加应用Android应用右侧的通知抽屉里。我试着用抽屉式导航栏这样做,但操作栏抽屉切换需要抽屉布局,而不是输入的特定视图,从而反应不像G +应用程序左,右抽屉。
I want to implement Right side notification drawer in my android app like the google plus app. I tried doing it with navigation drawer but the action bar drawer toggle takes drawer layout as input instead of a particular view and thus reacts to both left and right drawer unlike g+ app.
滑动抽屉可能是另一种选择,但在API级别pcated已去$ P $ 17,我可以用什么来实现我的应用程序,功能呢?
Sliding drawer could be another option but that has been deprecated in API level 17. What can i use to implement that functionality in my app?
这里是我想要的图像: http://i.stack.imgur.com /qkH30.png
here is an image of what I want: http://i.stack.imgur.com/qkH30.png
推荐答案
使用这个库:的 http://www.androidviews.net/2013/04/sliding-layer/ 我的很简单的实现,并从这样自己可以节省你。
Use this library: http://www.androidviews.net/2013/04/sliding-layer/ I's quite simple to implement and saves you from doing this yourself.
Github上页: https://github.com/6wunderkinder/android-sliding-layer -lib
Github page: https://github.com/6wunderkinder/android-sliding-layer-lib
这篇关于在谷歌应用程序加抽屉的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!