How do I randomly highlight a button in Android studio. For example, there are 4 buttons/views and I want one of them randomly highlighted, then if users correctly select the highlighted one, the other buttons will be randomly highlighted and previous highlighted buttons will be remain visible but not highlighted
I have tried browsing online to find related methods, but unsuccessful