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?