Fixpoint Fixpoint - 8 months ago 43
Android Question

How to find out which view is focused?

I need to find out if any view is focused inside an Activity and what view it is. How to do this?

Answer

Call getCurrentFocus() on the Activity.