Disign Actionbar or create something like it - android

I want to create an ActionBar like in the picture or to create something like it.
https://drive.google.com/folderview?id=0B6Cz2zvfARSdOHJKSEppSzd6ZHM&usp=sharing

You want to change the style of your ActionBar.
See tutorial on adding buttons.
If you want to support pre-Honeycomb versions of the OS, you will need to start by using the ActionBar compat library.

Related

How can i remove default TITLE Bar in th android application?

Am new to this tech.
I am trying to build an application,in that i want to Remove default Title bar,and want to add my customised title bar.
Thanks in advance
It's called ActionBar in android. To remove it completely, you have to use a theme which doesn't contain ActionBar like Theme.NoTitleBar or Theme.AppCompat.NoActionBar if you're using AppCompat support library.
You need a custom ActionBar to achieve this.
Please consider reading this training and also this tutorial

How to change Tab background in ActionBarSherlock

I am using actionbarsherlock for the tab view and I want to change the background image of the tab.Is there any way to do this?
I don't know if it is possible to set a drawable as background for the actionbar tabs.
But is is certainly possible to change the actionbar colors. You can use the Android Action Bar Style Generator to generate a style that contains all the colors you like.
The generator should create a zip with all the needed style and drawable files for your actionbar. You know can reference this styles in application theme or the themes for the activities that should use the style.
have you tried,
getSupportActionBar().setBackgroundDrawable(getResources().getDrawable(R.drawable.menu_head));
For more details, refer to this post
and this post
Edit-
Check this link, if it helps.
Yes, use setIcon():
tab1.setIcon(R.drawable.tab_home_unselect);

Is it possible to insert a layout between ActionbarSherlock and Tabs?

I'm using ActionBarSherlock and I want to insert a custom layout like Youtube application.
Here are the screenshots, what I want is green bordered as you understand. As far as I know Google is using native ActionBar, but I want to learn if it is possible using ActionBarSherlock and also, only if it is possible using ActionBar, how can I do this?
...
No you cannot do this with the native or ActionBarSherlock tabs. You should use one of the below great libraries. They are easy to use and you can get the above look very easily.
http://viewpagerindicator.com/
or
https://github.com/astuetz/PagerSlidingTabStrip

Menu underneath Android Actionbar component

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

ActionBarCompat: Set Navigation Mode

I'm using ActionBarCompat in my project.
The problem I have now is that I need a spinner to show in the actionbar. A standard ActionBar can use .setNavigationMode(ActionBar.NAVIGATION_MODE_LIST) but this is unavailable in the action bar compat code.
Is there a way around this? What are other options (besides a layout redesign.)
There is no way to do this in the code provided by ActionBarCompat.
It provides an ActionBar in it's most basic form for use by all platforms.
A better alternative is useing ActionBarSherlock. The setup very similar and more functionality is available out of the box.
http://actionbarsherlock.com/

Categories

Resources