Reverse engineered prompt

Build me a simple Android puzzle game called Open Flood. The player should start from the upper left corner of a colored grid and tap color buttons along the bottom to flood connected cells with the chosen color. The goal is to turn the whole board into one color before running out of moves.

I want it to feel polished but lightweight, with a clean mobile friendly interface. Include a settings screen or gear icon so the player can change the board size and the number of colors. There should also be a new game button, and if the player long presses it they can enter or use a seed to generate the same board again.

Please make it a normal installable Android app that I can open in Android Studio and run or build from the command line. Keep the code readable and organized, and match the basic gameplay and behavior described above. If anything is unclear, look up current Android docs as needed.

Want more depth? Deep Reverse