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.06k stars 177 forks source link

add support for custom Attributess in KeyAttributes #729

Closed jafu888 closed 1 year ago

jafu888 commented 1 year ago

This adds support for custom attributes in KeyAttributes:

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

                        }
                      ]

https://user-images.githubusercontent.com/15019413/190953090-d2dd7417-67a7-4e83-9d9a-2b6886f13be7.mp4