android - how using MotionEvent when move between two button without rise a finger -


i try make button accessible talkback everytime focused/selected, use public boolean ontouch(view v, motionevent event) {

switch ( event.getaction() ) { case motionevent.action_down:  v.sendaccessibilityevent(accessibilityevent.type_view_selected); break;} 

it work when first time touch button, when move next button without rise finger, button dont have focus, , talkback cant speak it, how can use sendaccesibilityevent current button?

i try use action_move, still need rise finger second button can have focus thanx, , sorry english

image in canvas touch events


Comments