I want imageview to become brighter when an user presses (clicks) it, but without an additional image for that state. Is it possible?
We know we have selectors where 2 different images can be used, but I would like to have a selector, a drawable from XML, and one real image.
I want imageview to become brighter when an user presses (clicks) it, but without
Share
OK, I got it working. Add
to the definition of your activity, add
to all your imageviews that must respond to click with getting brighter, and add:
to your activity. That’s all.