three different scenarios to know why you get "screen overlay detected" and how to Fix screen overlay detected in android.