Say I have View A and View B as sibling views in my Android activity. View B hides View A (for example, view B has a black background hiding view A) They both have the exact same dimensions filling up the entire visible screen.
How can I check programmatically during runtime if view A is visible to the user? I've tried isVisibleToUser, isVisible, isFocus, isShown etc which all don't work, since view A is set as visible, but due to the drawing order, is hidden by view B.