android-ConstraintLayoutExamples icon indicating copy to clipboard operation
android-ConstraintLayoutExamples copied to clipboard

MotionLayout doesn't work if child view is clickable

Open uOOOO opened this issue 7 years ago • 2 comments

I added ExoPlayer's PlayerView instead of ImageView to youtubedemo or changed ImageView(top_image) to clickable. And then MotionLayout swipe is not working.

Do you have any good idea without overriding any touch event methods?

Or how can I control MotionLayout precisely with overriding any touch event methods?

uOOOO avatar Jul 12 '19 04:07 uOOOO

I'am Facing same issue. Any solution???

usama27 avatar Aug 05 '19 12:08 usama27

I've referred to the following site..

  • https://medium.com/vrt-digital-studio/picture-in-picture-video-overlay-with-motionlayout-a9404663b9e7 and implemented with exoplayer
  • https://github.com/uOOOO/so-simple-android-example

uOOOO avatar Sep 03 '19 04:09 uOOOO