-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change ActionBar items Background.? #71
Comments
Hi, The styles of the AB is located in styles.xml. My guess is that the white color origins from the background which you have to remove. The borders around the items is made up of a margin trick that makes the background shine through to create a border effect. It's not pretty but works for most cases. Removing the margins and replacing all backgrounds including the drawables for action items might give the effect you're after. Hope this helps. |
Hi Johannilsson,
I had changed the themes already. but its not giving me the effect. In above images topbar is the image which i am using for the BG of AB. Please help me to sort this issue. On Wed, Sep 5, 2012 at 12:17 PM, Johan Nilsson [email protected]:
Thanks and Regards. Mahaveer A Muttha. |
lol this is the second issue I am solving in nearly a few hours... If you are getting a color behind your background (most likely red), then to change the color just do something like this in the addAction function in the ActionBar.java file. mActionsView.setBackgroundColor(Color.TRANSPARENT); |
Hello Johannilsson,
The Library you provided is a very nice.
I have one issue with it , is,
I am Providing one image for the background of Actionbar,
Now when i am assigning Actionbar items to it , I am assigning it tranceperent images.
But a blur white background is gets generated behind those images.
is there any way to remove that white background from Actionbar items?
please help me to sort out . I had wasted almost 3-4 days on it.
you can mail me on [email protected]
Thanks .
Mahaveer
The text was updated successfully, but these errors were encountered: