Minimal custom View drawing an eight-by-eight checkerboard.
The Activity constructs GameBoard directly and supplies gray and white colors. onDraw alternates rectangle colors, while onMeasure chooses a square view size.
Requires JDK 17 or newer and Android SDK 37. The app supports Android 6.0 (API 23) and newer, and targets API 35. Dependencies are pinned in gradle/libs.versions.toml.
From this directory:
./gradlew :app:assembleDebug :app:lintDebug
./gradlew :app:installDebugOriginal emulator screenshot, preserved.
