tags:

views:

37

answers:

1

Removing Background color in Android

I have set backgroundColor like this in code,

View.setBackgroundColor(0xFFFF0000);

How to remove this background color on some event.?

+1  A: 

Please try to set the background color to transparent

View.setBackgroundColor(0x00000000);

kiki
Ok , I thought there will be something to remove backgroundcolor property.
sat