How dissable minimize cheating

0 I’m building a broswer app on android for school exams. now the application is able to minimize cheating because the application requires users to allow drawing over other apps. However, currently the application is still found to have loopholes, namely by using floating windows / floating apps. Is there a way to block or disable floating apps or floating windows on Android?


Now there is a foating application that can be installed from Playstore. and it works floating on top of our application. So, how do we ensure that floating applications like this can’t be done and can’t run on top of our application?