Looking for a good approach to achieve a similar toolbar. Should I use image buttons ??
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
I know this question is super old, but I figure it's never too late to answer for other peoples sake who are searching for the same thing. I just found this tutorial and these official docs on the subject now that bottom navs are officially supported by Android and are a part of the material design guidelines if your app has 3 to 5 top level navigation locations. I hope this helps someone else, because I spent a good bit of time looking around for this.
I shared my solution on GitHub. It is for Xamarin but the layouts are the same.
http://behsaadramez.com/2015/11/26/androidbottomtoolbar/
Well, last time I tried to do this I've used
Button
s at the bottom of the layout wrapped by aLinearLayout
, something like this:And if you're curious about the style and background I've used, here it is:
I came to this question sometime back. I was unable to add text below the buttons. I have written an article how I solved the problem with code snippet and screenshot here, create goolge plus like toolbar in android
the idea is they will lay out horizontally like the one you want, also then do not do
ToolBar.setTitle()
or setnagivation on theToolBar
also you don't have to add optionsMenu to it. so it will be bare like the one you want.try it and see if it fits your requirement, remember to add the background and image src to the
ImageButton
s