[android-developers] Background color of overflow menu when cliked android KitKat (4.4)

2016-05-14 Thread Yass
Hi Android Community, I want to change the background color of my overflow menu item when cliked, but it doesn't work. My xml style file is like this: @color/colorPrimary @color/colorPrimaryDark

[android-developers] Background color

2011-01-25 Thread Antony BODY
Hi all, I'm trying to get the background color of a button. This color was applied on this button with the XML code. It's little complicated !!! I tried some solutions like: Drawable d = findViewById(R.id.my_btn).getBackground(); But i can't obtain the background color code. Any people have

Re: [android-developers] Background color

2011-01-25 Thread Kostya Vasilyev
Anthony, In general, a background is not necessarily a solid color - it can be an bitmap, a nine-patch, a gradient, state list, etc. If you know that you specified a solid color in XML, you could try casting the Drawable to a ColorDrawable:

[android-developers] Background color of selected text

2010-05-27 Thread pop
Hi all, In a web page..if i select some text, the background color changes from white to pink. I am trying to understand where exactly this change is happening. Interested to know more about color change of rectangular area of selected text. Kindly help me to locate this piece of code. Thanks in

[android-developers] background color of preference screen

2010-02-08 Thread vidya
hi , How to set the background color of a preference screen? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] background color of preference screen

2010-02-08 Thread Chirayu Dalwadi
You can see background color with android:background=#FF attribute in XML file hexadeciml code can be calculated using following link: http://www.drpeterjones.com/colorcalc/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to