Menu underneath Android Actionbar component - android

I want to make a UI like this http://d.pr/i/ZQxO but I don't think so that android ActionBar component has the provision to add menu layout like this. What can be the possible workaround for this? Thanks.

You can do it with simple option menus. Have look on official samples or even better do it breadcrumb

Related

Custom bottom navigation bar layout

I want to create the following customized BottomNavigationBar. How can I set custom layout for the same?
Can somebody tell me how to approach it ?
You can check this library, hope this helps! BottomNavigationCircles-Android
If you are OK with using Material components, this article should be of use: https://protocoderspoint.com/custom-bottom-navigation-bar-android/.
This is a relatively easy thing to find on Google, so I advise looking there for some help.
Check out sites like https://github.com/roughike/BottomBar if you want to build upon a pre-built layout/system.
As far as I can tell though, there is no method to set android:layout="#layout/mylayout" function for bottom nav bars.
Search GitHub for "custom bottom navigation bar" and try to build off of the dirty work that has been done there. It will save a lot of time and headache while you're trying to build the back-end navigation patterns and layout inflators.

Custom Android Bottom Menu Bar

I went through many questions regarding making bottom bar but my my question is a bit different.I want to make this.
bottom menu:
Now the thing is, the menu is not static.It's items can vary depending upon user's choice.So, I have to make it dynamic. What's the best approach to achieve this?
Also, I'm not sure how do I make that curved outline at the center item.I'm thinking that I should do it programmatically.Any suggestions are welcome.Even better if you can share code.
Use this to create Navigation bar, it will surly create view that you show us in image.
https://github.com/armcha/Space-Navigation-View
Bottom menu is now an official navigation view according to the official documentation but as far as I know, there is no native component available yet to implement that.
In my opinion, your best bet is to try customizing the following library created by Iiro Krankka (http://github.com/roughike):
BottomBar

Flickr-like Android ActionBar

I have been doing a small research on UI designs for Android for the last few weeks. My main concern right now is the action bar along with tabs. I believe the default android implementation takes to much room on the screen.
Recently I took a look at the Flickr app and I really like how they do this but I am not sure how to implement tabs this smoothly inside the action bar itself.
All help / ideas are appreciated.
Thanks in advance.
Screenshot of the action bar can be found here:
https://dl.dropboxusercontent.com/u/242865/Screenshot_2014-11-11-11-04-05.png
Check out this library on github.
It's an Android Library to help you create actionbar tabs like Capitaine train app by Cyril Mottier.
You have to set a customview in your actionbar and use something like ViewPagerIndicator
http://viewpagerindicator.com/
To setup a custom view in your actionbar just use setCustomView but remember to enable the display of custom view first.
Take a look at this
http://www.jfarrell.net/2013/10/customizing-action-bar-in-android.html

There's a way to put an icon on the options menu in android 3+

There's a way to put an icon on the new options menu style in android? ps. I don't want use the actionBar for that.
You should read this. The reason for the ActionBar is to provide consistent UI to help the user feel more comfortable with the app. If I fully understand what you are asking then you shouldn't be doing that.
There's a way to put an icon on the new options menu style in android?
No, sorry.

Using ActionBar.NAVIGATION_MODE_TABS together with ActionBar.NAVIGATION_MODE_LIST

I am creating an app where i would like to use both the drop down list navigation and tab navigation on an actionbar. But i can not figure out how to do this without implementing the actionbar as a custom view which would mess up a lot of the nice built in features.
So what is the best way to get both of these navigation modes at the same time?
Android will not build both of these for you. You can use the ViewPagerIndicator library to make an emulated tab bar for a ViewPager, which is probably the easiest way to do this.

Categories

Resources