Categories
How to make a random button layout?
The quiz app has three buttons in an activity wrapped in an array. How to make it so that each time their location changes?
Answer the question
In order to leave comments, you need to log in
you need to change not the position of the buttons, but the information that you bind to the buttons in java, there are built-in methods that shuffle arrays www.tutorialspoint.com/java/util/collections_shuff...
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question