Does anyone know how I can change the color of the menu grouping arrow?
Related
I want to create a bottom navigation bar with different color for different menu items. Something similar to "https://github.com/gauravk95/bubble-navigation".
All I could do till now is just change the on selected and on unselected colors for the navbar. Is there any way I can change these colors for each menu item?
I'm trying to change the white color of the guiding arrow not the
current green arrow, could any one help?
Unfortunately, this feature is not provided in the SDK so, you cannot change the color of the guidance arrow.
I have a menu in the Action bar of my tablet. In my style i puted Android TextColor white. but I would like to remove the click Action of my Item so I tried item.setEnabled(false); but the problem with this command that my text will be in grey not in white.
Android puts the color to gray to make it clear to the user that it's not enabled. If you really want it to stay white, don't use setEnebled(false) but just don't handle the click event.
I've used the action bar style generator to generate a custom action bar theme for an app, and it works well after a few tweaks. My custom theme is based on Holo (the dark version) and changes the highlight colours. My action bar overflow menu correctly shows my custom state_pressed colour on the overflow items when I press them. I've set android:colorPressedHighlight to the colour I want, and put an appropriate drawable for android:selectableItemBackground.
The problem is on one of my test devices, which has a hard menu button. (It's a Samsung Galaxy S III.) When I show the overflow menu with the hard menu button, pressing an item from this menu gives it the default blue highlight. Either it uses another attr instead of android:selectableItemBackground, or it's taking it from another style. I'd like to know what attr it's using, or what style it's taking it from, so that I can set this colour.
P.S. Before anyone suggests it, I know that you can use android:panelBackground to set the background of the bottom menu. But I don't want to change the overall menu background, only the item background.
I know how to change the selection color of android option menu but how can I change the selection color of an option menu's sub-item?
I know that you're talking about submenus, but this question might help you (about changing the color of option menus).