Android Studio version of BouncingBalls