Elevation animation on click on CardView

后端 未结 2 1943
离开以前
离开以前 2021-02-08 10:35

I want to add the elevation animation to my android.support.v7.widget.CardView, just like the material style Buttons do. I\'ve tried to set a Sta

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-08 10:58

    You tried to create this .xml in res/anim folder.

    You should create on res/animator, if don't exist is easy to create.

    But if you search for the problem it already give you a possible solution

提交回复
热议问题