Is there a kotlin library for supporting expandabl...
# android
n
Is there a kotlin library for supporting expandable layouts like this? (Or for Cards in general) https://storage.googleapis.com/spec-host-backup/mio-design%2Fassets%2F1MQkoHF02iEg52BoUbsNG4Eu3wuyYRmsQ%2Fcards-behavior-do.mp4
r
MotionLayout
👍🏻 1
n
Does that work with AndroidX? I'm having trouble getting it up and running. More specifically I'm getting this error (a few like this with different attributes):
Copy code
error: attribute constraintSetEnd not found.
With these versions
Copy code
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01'
implementation 'androidx.constraintlayout:constraintlayout:1.1.2'
Using
androidx.constraintlayout.motion.widget.MotionLayout
r
motion layout came out it with constraint layout 2.0
n
Ah, so the androidx constraintlayout is outdated? This comment seems to implies there's an equivalent AndroidX version out: https://www.reddit.com/r/androiddev/comments/8u7ap0/constraintlayout_200_alpha_1/e1osxc0/
r
There is a Androidx version
n
Oh... duh. Android Studio didn't think there was a newer version 🤦🏻‍♂️