apply color to Button

by Dilli » Fri, 13 Mar 2009 00:17:18 GMT


Sponsored Links
 Hi all,

I am developing a simple GUI with three buttons

i want to fill the button with color

but i found back ground color. if i set mybutton.setBackgroundcolor
(color);

it's not visible

how can i fill the button with color..

need help

Thank you

Dilli


--~--~---------~--~----~------------~-------~--~----~



apply color to Button

by Sundog » Fri, 13 Mar 2009 00:22:52 GMT


 Make sure the color you're sending has an alpha component.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


apply color to Button

by dillirao malipeddi » Fri, 13 Mar 2009 12:18:34 GMT


 Thank you it works fine now..






-- 
Dilli Rao. M

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. About ro.sf.lcd_density

Hi,

As far as I know modify "ro.sf.lcd_density" at "build.prop" can adjust
the UI be displayed rightly on QVGA device.
Does this property still take effect on donuts and later version?

If not what should be noticed for adjust UI display rightly on QVGA
device(not emulator)?

Thanks for clue about it.
gan
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. How to find out whether the time format is 24-hour format ?

Hi,

May be not a fully satisfactory answer but I presume that you may get
the result of that setting through the Java default timeformat




--~--~---------~--~----~------------~-------~--~----~

3. Porting to SH4

4. what exact error is this ???

5. ImageButton and focus state...

6. Content on emulator

7. A Reflection View