How to get focus for a button in between two editfields in android
i am having a button in between two edit fields. when iam using track ball to scroll ,button is getting focus but when i use the next button in softkeyboard after typing some text in editfield , focus is moving on to next editfield but n开发者_如何转开发ot the button inbetween them .how to solve this..?
Use android:focusableInTouchMode attribute:
<Button ... android:focusableInTouchMode="true" />
I think android:nextFocusDown and android:nextFocusUp solves your problem.
加载中,请稍侯......
精彩评论