androidx / constraintlayout

ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
Apache License 2.0
1.07k stars 176 forks source link

Motion change custom property in KeyAttributes #723

Closed YusufbekIbragimov closed 1 year ago

YusufbekIbragimov commented 2 years ago

I how to change custom properties such as textColor, and background in KeyAttributes with json5 syntax, can you help me?

jafu888 commented 2 years ago

It was not implemented it will be in the next release.

KeyAttributes: [
                        {
                          target: ['a'],
                          frames: [25,50,75],
                          rotationX: [0, 45, 60],
                          rotationY: [60, 45, 0],
                          custom: {
                            background: ['#FFFFFF', '#000000','#FFFFFF'],
                            count: [50,50,50]
                          }

                        }
                      ]
YusufbekIbragimov commented 1 year ago

Thanks a lot