Search code examples
androidandroid-constraintlayoutandroid-app-bundleandroid-motionlayout

Android MotionLayout with app bundle not working


I have simple project with MotionLayout. There is a seek bar that changes the state of MotionLayout using the setProgress() method.

When I deploy default APK, all works, child view moves. If I use "APK from app bundle" deploy, MotionLayout not works(child view don't moves), like it missed layoutDescription.

enter image description here

Example project here.

MotionLayout version:

'com.android.support.constraint:constraint-layout:2.0.0-alpha2'

Solution

  • This will should be fixed in ConstraintLayout alpha 3: https://twitter.com/johnhoford/status/1061001715481079808