Home > Mobile >  Videoview and edittext focal point question
Videoview and edittext focal point question

Time:10-06

Project contains a page for video playback and edittext player, now just play video click edittext get focus slide up and down sliding will occur conflict is the great god have any good solution

CodePudding user response:

You rewrite the EditText, in dispatchTouchEvent judgment, if touch yourself, just getParent () requestDisallowInterceptTouchEvent (true); , don't let the superior view intercept events
  • Related