开发者

Problem regarding Edit Text Boxes focus change ( Seen other questions .. they exactly rnt helping )

开发者 https://www.devze.com 2023-02-21 21:42 出处:网络
I have total of 9 Edit text boxes now i have implemented on focuschangelistener on each one of them. But now while moving through the boxes i want to pick up the id othe Edit Text Box on which the poi

I have total of 9 Edit text boxes now i have implemented on focuschangelistener on each one of them. But now while moving through the boxes i want to pick up the id othe Edit Text Box on which the pointer is currently present.

The focuschangel开发者_StackOverflow社区istener works only when the focus is shifted .. now suppose cursor is poiniting at the sixth box .. so i want a API which could tell me me at the background that which Box is currently in use.


Check getCurrentFocus() method in Activity.

0

精彩评论

暂无评论...
验证码 换一张
取 消