仅2步实现 滚粗 汉堡导航栏效果~ 全新底部导航交互

布吉岛大家有木有看这一篇文章,再见,汉堡菜单,我们有了新的 Android 交互设计方案

本库下载地址:https://github.com/githubwing/ByeBurger

里面介绍的新得交互是这样的:

总之总结一下就是:

  • 滚动时隐藏: 我们希望在用户的屏幕上显示尽可能多的内容。因此,我们决定在向下滚动的时候隐藏导航栏,从而给内容区域提供更多的空间。而向上滚动可以使导航栏重新显现。
  • 变换式导航栏: Material Design 底部栏有一个非常平滑的动画,它参考了变换式导航栏——在不同目标间切换的时候,被选中的部分会被放大,同时未被选中的元素会被向后移动,从而在导航栏上浏览不同的目标就有点像在浏览一个旋转木马。我们决定要使用这种效果因为它使得切换导航目标变得更加有趣了。我们希望这可以推动我们的用户更多地在应用的不同功能组间切换。同时,该动画在我们的下一个观点中非常重要。
    恩~ 看起来效果还不错,所以我就封装了一下系统的BottomNavigationView并且添加了滑动隐藏效果~ 实现如上图效果,只需要2步!

先来看看使用我的库的效果:

第一步:写一个xml,以CoordinatorLayout为跟布局。把ByeBurgerNavigationView加入到布局中

注意app:menu是给菜单的布局关联的,app:layout_behavior是库自留behavior的包名。。照写就对了。。

第二部,创建一个menu xml

之后在代码里将viewpager和byeburger关联即可

以上就完成了使用~

如果你觉得还不错 欢迎star

本库下载地址:https://github.com/githubwing/ByeBurgerNavigationView

欢迎加入我的android群:425983695

仅2步实现 滚粗 汉堡导航栏效果~ 全新底部导航交互》有59个想法

  1. I just want to mention I’m newbie to blogging and site-building and really enjoyed this web site. Likely I’m planning to bookmark your site . You actually have impressive posts. Thanks a lot for sharing with us your website.

  2. I together with my friends have already been looking through the good solutions from your site and then suddenly I got a horrible suspicion I never thanked the blog owner for those secrets. The people are already totally stimulated to read them and have now in fact been making the most of these things. Appreciation for actually being very kind and also for choosing these kinds of terrific themes most people are really desperate to be aware of. My very own sincere regret for not saying thanks to sooner.

  3. I want to express appreciation to this writer just for rescuing me from this particular situation. Because of researching throughout the online world and coming across things which were not helpful, I assumed my entire life was done. Living devoid of the approaches to the difficulties you have sorted out by means of your article is a crucial case, as well as ones which might have adversely damaged my entire career if I hadn’t discovered your blog post. Your personal natural talent and kindness in playing with all things was tremendous. I’m not sure what I would’ve done if I had not come across such a stuff like this. I can also at this moment look ahead to my future. Thanks for your time so much for your skilled and results-oriented help. I won’t think twice to propose your blog post to anyone who needs to have guidelines about this area.

  4. Thank you so much for giving everyone remarkably memorable chance to read from this website. It is usually so useful plus packed with fun for me personally and my office co-workers to search your blog really 3 times weekly to see the newest stuff you will have. Not to mention, I’m also at all times pleased with all the mind-boggling guidelines you serve. Some 4 ideas in this article are particularly the most effective we have ever had.

  5. Needed to compose you that very small observation to help thank you very much as before for your pleasant tactics you have shared on this site. It was simply open-handed of people like you to convey unhampered just what a few individuals could possibly have distributed as an e book in making some money for their own end, primarily given that you could have done it in the event you desired. Those principles in addition worked as a great way to know that someone else have a similar passion much like my personal own to understand whole lot more when it comes to this matter. I know there are a lot more pleasurable periods ahead for those who scan through your website.

  6. I enjoy you because of your entire labor on this blog. Betty takes pleasure in working on research and it is easy to understand why. A lot of people hear all concerning the lively means you make both interesting and useful tricks by means of the website and as well encourage contribution from other people on this matter plus our simple princess has been understanding a whole lot. Enjoy the remaining portion of the year. You’re carrying out a terrific job.

  7. I simply wanted to jot down a brief note to thank you for all the marvelous ways you are writing at this site. My time intensive internet search has at the end of the day been honored with beneficial tips to talk about with my company. I ‘d repeat that we readers actually are truly endowed to live in a very good place with so many perfect people with useful strategies. I feel very lucky to have discovered the web page and look forward to really more excellent minutes reading here. Thanks once more for a lot of things.

  8. The following time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my option to learn, however I truly thought youd have one thing interesting to say. All I hear is a bunch of whining about one thing that you possibly can repair when you werent too busy looking for attention.

  9. I in addition to my guys appeared to be reviewing the best advice found on your web site while unexpectedly I got a terrible suspicion I never thanked the website owner for those strategies. Most of the guys ended up for this reason warmed to study all of them and now have unquestionably been taking advantage of these things. Appreciate your genuinely indeed kind and then for utilizing certain helpful guides most people are really desperate to understand about. My personal sincere regret for not expressing gratitude to you sooner.

  10. Thanks for your entire work on this web site. Gloria really likes making time for investigation and it is easy to see why. I learn all concerning the dynamic form you create reliable guidance by means of your web site and as well as increase participation from people on this area so our own child is undoubtedly being taught a great deal. Enjoy the remaining portion of the new year. You have been performing a terrific job.

  11. Hi! I realize this is kind of off-topic however I needed to ask. Does building a well-established website like yours require a lot of work? I am completely new to writing a blog but I do write in my journal on a daily basis. I’d like to start a blog so I will be able to share my experience and feelings online. Please let me know if you have any kind of ideas or tips for new aspiring blog owners. Thankyou!

  12. I merely intend to inform you that I am new to wordpress blogging and very much valued your page. More than likely I am going to remember your blog post . You absolutely have magnificent article content. Admire it for discussing with us your own internet page

  13. I needed to put you one tiny word to be able to thank you very much yet again for all the nice ideas you have contributed at this time. It’s really remarkably open-handed with you in giving easily just what many of us could have sold for an e book to end up making some profit on their own, most notably considering that you could have tried it in the event you wanted. The tips in addition served like a fantastic way to realize that some people have the same interest like my personal own to learn great deal more concerning this issue. I know there are lots of more enjoyable times ahead for people who read carefully your site.

  14. I enjoy you because of all of your work on this site. My mom take interest in making time for investigations and it’s obvious why. A number of us hear all about the dynamic tactic you present useful guidance on this blog and even welcome contribution from website visitors about this idea while our favorite daughter is truly starting to learn a lot. Take pleasure in the remaining portion of the new year. You are conducting a pretty cool job.

  15. I simply wish to tell you that I am new to having a blog and incredibly enjoyed your information. More than likely I am likely to store your blog post . You definitely have outstanding article information. Get Pleasure From it for discussing with us the best site post

  16. Be sure that you have Silhouette Studio Designer Edition running and adhere to these easy actions to start! While it is crucial to have Silhouette Studio Designer Edition to import SVGs there is yet another step you’ve got to take to receive them actually cut. I am aware I’ve missed lots of nice anime collection, so should you have any suggestion, don’t hesitate to share about it in the comment section!

  17. I’m just writing to make you understand what a fine encounter my cousin’s girl found reading through your web page. She discovered such a lot of pieces, not to mention what it is like to possess an excellent helping character to let a number of people without problems understand specific complicated subject areas. You truly surpassed readers’ desires. I appreciate you for rendering those priceless, dependable, explanatory and in addition unique guidance on the topic to Kate.

  18. Greetings here, just got aware of your post through Search engines like google, and realized that it’s seriously interesting. I will take pleasure in should you decide keep up this approach.

  19. I have to convey my passion for your kind-heartedness supporting people that absolutely need guidance on that concept. Your very own dedication to passing the message throughout was pretty advantageous and have truly permitted girls much like me to arrive at their objectives. This valuable information implies a whole lot to me and especially to my office workers. Regards; from everyone of us.

  20. I have to convey my admiration for your kind-heartedness for folks who need assistance with this particular theme. Your special dedication to getting the solution up and down has been rather helpful and has made women just like me to achieve their goals. Your important tutorial denotes so much to me and even more to my mates. With thanks; from everyone of us.

  21. I really have to advise you that I am new to blogging and extremely cherished your post. Most likely I am inclined to store your blog post . You literally have outstanding article information. Delight In it for share-out with us your own blog post

  22. It is usually ideal occasion to put together some options for the future. I have looked over this blog posting and if I may just, I wish to propose you very few unique recommendation.

  23. Thanks so much for providing individuals with a very marvellous possiblity to read articles and blog posts from this web site. It can be very fantastic and as well , full of amusement for me and my office peers to search your blog nearly three times in a week to read through the newest issues you have. Not to mention, I’m usually amazed with your awesome tips and hints you give. Certain 2 tips on this page are in truth the most impressive I have ever had.

  24. I merely have to advise you that I am new to putting up a blog and completely liked your information. Most likely I am probably to bookmark your blog post . You definitely have excellent article information. Delight In it for swapping with us your very own internet site write-up

  25. Gday there, just started to be familiar with your article through Bing, and realized that it’s quite entertaining. I will be grateful for should you continue this informative article.

  26. I together with my pals ended up going through the excellent ideas from your web page and then all of the sudden came up with an awful feeling I had not expressed respect to the site owner for those strategies. These guys happened to be thrilled to study all of them and now have in fact been loving these things. Appreciation for really being quite thoughtful and for picking variety of great information most people are really needing to discover. My very own honest regret for not expressing gratitude to earlier.

  27. Whats Going down i am new to this, I stumbled upon this I have discovered It absolutely useful and it has helped me out loads. I hope to contribute & assist different customers like its helped me. Great job.

  28. Nice post. I was checking continuously this blog and I am impressed! Extremely useful info specially the last part 🙂 I care for such information a lot. I was seeking this particular information for a very long time. Thank you and best of luck.

  29. I needed to send you the tiny remark to help say thanks as before just for the splendid guidelines you have documented above. This is certainly generous with you to allow extensively all that a few individuals would’ve distributed for an e-book to end up making some dough for themselves, notably given that you might have done it if you ever desired. The good ideas additionally served to provide a great way to fully grasp that some people have the identical zeal really like my own to know the truth a lot more when considering this matter. I am sure there are many more pleasurable occasions up front for individuals who looked at your blog.

  30. I needed to create you a bit of word to help thank you so much over again for the wonderful opinions you have shown in this article. This is so particularly generous with you to offer without restraint exactly what many of us would’ve distributed as an electronic book in making some dough on their own, primarily now that you could have tried it if you considered necessary. Those things likewise acted to be the good way to know that other people online have a similar interest just as my very own to understand way more when considering this condition. I am certain there are many more enjoyable situations in the future for many who discover your website.

  31. I simply couldn’t depart your site prior to suggesting that I extremely loved the usual information a person provide to your visitors? Is gonna be back frequently to check up on new posts

发表评论

电子邮件地址不会被公开。