Dark Nav Bar Icons? - android

I want to use an Theme.AppCompat theme that uses dark nav bar icons as defaults, are there any Themes that do this? I can only see AppCompat.Light themes when I use the dot operator.

AppCompat.Light is right because it means the color of the AppBar. If it's a light color, use light and the Icons and Texts will be black. If it's a dark color, use AppCompat and the Icons and Texts will be white.

Related

Change only action bar color (no tabs color) - appCompat v 21

I am using appCompat v21 and I want to change color of actionbar to black while actionbar tabs should be white. Setting colorPrimary changes colors of both actionbar and tabs. I have tried setting theme to light and then using actionBarStyle with black background but this apparently doesnt work in appcompat v21.
What is the best way to accomplish this? Thanks in forward

Change default color theme in ActionBarDrawerToggle

I am applying a style in my Android app where the main colour is the orange. So I would like to set up a theme where the main colour is orange instead of the blue one in Holo theme. Is there a way to change globally the theme colours?
For example, I would like to change the drawable which is applied while pressing the ActionBarDrawerToggle. How could I change that drawable? And the one with the caret pressed to go to a parent activity?
I am developing an Android app for Level 10 API and using Support Library v7.
Thanks in advance.
You can use a tool such as Android Action Bar Style Generator to change the coloring of the action bar and the accent color used for touch highlighting (although note the Kitkat styling is light gray touch highlighting rather than colored highlighting).
Similarly, for the Navigation Drawer icon itself you can use the Navigation Drawer Indicator Generator to colorize the drawer itself, although generally you should consider coloring the Action Bar with your primary color and using the default holo light/dark for icons.

Navigation drawer is displaying incorrect theme

I've recently implemented a navigation drawer in an app that I'm working on, and I've noticed it hasn't taken on my app theme Holo.Light.DarkActionBar. Shouldn't the nav drawer have the same style as this theme, which would be that light-gray background and dark gray text? Currently it has a black background with white text. How would I go about having my navigation drawer's theme consistent with the rest of the app? I don't think I can set the theme/style to the layout of the drawer nor can I do it programatically. Is this something I must do manually? If so, does anyone know the hex values for the dark gray text and light-gray background, as I can't seem to access the default resource that contains these values.
You have to theme the navigation drawer manually, it doesn't inherit the parent theme. Here's a question that contains a list of all the Holo colors: What are the default color values for the Holo theme on Android 4.0?

how can I remove the divider below actionbar sherlock?

I'm stuck at a very ridiculous thing.
I want to remove the divider below the action bar shown in the picture.
how can I do it?
P.S: I want to use my app for API level 8 too
There's a great tool you can use for generating an ActionBarSherlock compatible Theme. Go to the following link and initialize it with the following settings:
Style compatibility: Sherlock
Base theme: Dark
ActionBar style: Solid
This will remove the line below the ActionBar and allow you to choose a solid color for the ActionBar itself. If you simply wanted to change the color of that line, you can set the ActionBar style to Transparent and change the Accent color (this is the color chosen for that line)
http://jgilfelt.github.com/android-actionbarstylegenerator/

Android color code for action bar in holo light theme

I am making an app using Holo dark theme, though I want the action bar to be the same grey like color in Holo light/ default theme. What is the color code that i can use for that?
Thanks
All colors are stored here :
https://github.com/android/platform_frameworks_base/blob/master/core/res/res/values/colors.xml
The color you looking for is : #fff3f3f3
#ddd
I couldn't figure out how to reference the one already defined, so I just made my own.
<color name="action_bar_background">#ddd</color>

Categories

Resources