Simple ImageView color animation

前端 未结 2 1753
一向
一向 2021-01-22 01:21

Hi I am relatively new to Android, and I would like, if possible, some guidelines or suggestions on where to search in order to solve my issue. Apparently, I do not possess the

2条回答
  •  青春惊慌失措
    2021-01-22 02:10

    How about having 2 images of the bottle? One (on foreground) would be an empty bottle with transparency The (on background) second one would be the "shape of the liquid"

    when your activity starts, get the background one and animate it like posted on this topic : https://stackoverflow.com/a/12127985/4232337

    Hope this helps!

提交回复
热议问题