I need to set alpha for a view. It is ImageButton and on Touch event i want to set alpha that i could see it was pressed. Maybe there some work around on this ? It don't suit me changing background color. Because my background is image and i wan't to change alpha of this image. Also i don't want to use selectors because my images are created dynamically.
Finally if there are no way to do this. So how i could catch exception that it setAlpha isn't supported for Api phone is using ?
Thanks