Insert images instead of icons on Menu items - Android Studio

Hello everyone!
I'm making a menu and I want to add images to each item.
I have tried this:
Code:
<item android:id="@+id/TwitterMenu" android:title="Twitter" android:icon="@drawable/twitter_logo"/>
The image of this item is this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But Android Studio add a grey tint to it. I want the original colors of the picture. How can I do it?
Thanks!!

in menu item xml add
app:itemIconTint="@null"
or
app:itemIconTint="@color/blue"

Related

any idea how to change "select wallpaper from" popup?

Well I made a theme for my Droid Incredible that has the black menu, like the GinerBread theme. Here is the thread: http://forum.xda-developers.com/showthread.php?t=898783
Everything came out great besides one clash, the select wallpaper popup.
here is an image,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Does anyone know of an .xml that can change the text to ONLY this popup to white? Thanks for your time.

[R] Volume and Settings Seek Bar Style?

hi... can i ask how i can change the seek bar look and style? commonly it looks like this, a thick yelow line with a black background. i want to make mine look like the ics. just a thin line but a white one. how can i do that what files do i need to edit or change ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Jelly Bean Theme Question/Help

I know which png is linked to this but I can't for the life of me find which XML controls this popup.
My issue is I'm theming a ROM and I have a darker back ground for this popup but when you select the app you want to use the text at the bottom "Always / Just once" change to black. I'm looking for the XML so I can change this text to white.
Thanks for any help...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[Q] A little Help with framework-res.apk?

I'm working with a new framework & stuck in this step.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The Text & the background color are same black so the text is not showing. if i want to change the text color as blue or any other which file i need to edit?

How to change the toolbar menu icon?

I get into trouble in coding menu, I use .xml to code the menu, but the default style is not what I want.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Is there any method to change the menu icon to text, and keep the menu's function?
Define a custom style: for example, let's call it custommenu.
In this style you set android:src to the picture you would like to use. Now create a style with parent Theme.holo.
In this style you need to define:
<item name="android:actionOverflowButtonStyle">@style/custommenu</item>

Categories

Resources