android-ConstraintLayoutExamples
android-ConstraintLayoutExamples copied to clipboard
MotionLayout doesn't work if child view is clickable
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?
I'am Facing same issue. Any solution???
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