Easy way to change Firemonkey button pressed color on Android


This might be one of those forehead-slapping questions, but what I want to do, is make my buttons show orange (xFFFCB447) when they are pressed, just like the Android dialogs do. (picklist for example)

There doesn’t seem to be a specific “pressed” TRectangle in the Default Style, and my adding different TRectangles (coloured appropriately doesn’t seem to do it either), so my only alternative seems to be to use the Bitmap Style designer to Export the style.png; hope I figure out which part of the image is used for the button pressed before tomorrow afternoon, and Update the image again.

Is there not an easier/quicker way to do it?

Comments are closed.