I need to find out if any view is focused inside an Activity and what view it is. How to do this?
for some reason getCurrentFocus() method isn't available anymore; probably it's deprecated already, here the working alternative:
View focusedView = (View) yourParentView.getFocusedChild();