Customize Action Bar Sherlock - android

I am working on an app in which I have implemented Action Bar using Action Bar Sherlock. I have also assigned style to it using Action Bar Style Generator from the following link:-
(http://jgilfelt.github.io/android-actionbarstylegenerator/#name=test_style&compat=sherlock&theme=light&actionbarstyle=solid&texture=0&hairline=0&backColor=9c0%2C100&secondaryColor=D6D6D6%2C100&tabColor=33B5E5%2C100&tertiaryColor=fff%2C100&accentColor=ff0%2C100&cabBackColor=fff%2C100&cabHighlightColor=33B5E5%2C100)
Its perfectly doing what I want but now my problem is that I have no control on the font type/size/color of the title of Action Bar or even on the pop-up menu font. I just want to know how can I change the font size/type/color of my Action Bar from the styles that I have generated from the above link.
Please help me to sort this out, any help would be appreciable
Thanks in Advance.

Related

Customize Navigation Drawer Action Bar (App Compact) in android

I want to customize navigation drawer app compact action bar, I want to remove app icon from that and want to make its title center in action bar.
I have applied all solutions , but nothing is working with all the conditions.
Please give me some clue for applying it correctly
You should creat a customize action bar. Then, if you want you can add a button that can open and close your drawerlayout.
I have solved my problem. As mentioned, I have two problems, and I solved that in following way :
1) For making title centre, we need to make custom layout of action bar, and need to remove action bar title.
2) for remove app icon from action bar, we need to set android:icon property of that activity in manifest with transparent image or colour.

How to add a view in between action bar title bar and action bar tabs?

I got a requirement to show a date picker in between the action bar title bar and the action bar tabs .Is this possible actually.If yes please suggest.
Please see the attachement.
Thanks In Advance

Android to setaction bar without title bar

I want to set action bar without title bar.
I have tried #android:style/theme.light.notitlebar
as well as i also tried this link Adding an action bar to Theme.Black.NoTitleBar Android
but it is not working . Where i am wrong, please help me
//Remove title bar
this.requestWindowFeature(Window.FEATURE_NO_TITLE);

Android How do I add icons to action bar?

I want to know how I can add a icon to the action bar, just like in the example link below from Android market?
Please come with example codes.
Example picture
That's not the title bar.. try looking for ActionBar
EDIT:
here is an example to create your own action bar
action bar example

Customize the action bar color background changing

I am trying to add and action bar to my app, and customize it.
i used onCreateOptionMenu() and Inflaters to add to my code.
but i don't know how to customize background and remove that package name which appears next to the logo so i can give more "Room" to my items to be displayed correctly.
can anybody help please?
Thank you in advance.
I would suggest to create a custom action bar in layout folder and use it with below code:
ActionBar actionBar = getActionBar(); //Applications action bar isntance
actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM);
actionBar.setCustomView(R.layout.my_action_bar);
If you use this, you can directly use action bar view's content and do whatever you want.

Categories

Resources