WindowManager with Animation (is it possible?)

前端 未结 2 815
野的像风
野的像风 2020-12-08 01:30

Is there any way to inflate a view with WindowManager using Animation (at android\'s project)? I just can\'t do it even using the examples in sites! I used many examples but

2条回答
  •  情书的邮戳
    2020-12-08 01:42

    Yes it is indeed possible. As long as the view you want to animate is inside a container, by container I mean for instance a LinearLayout or any other layout will do. Conclusively the view to be animated should not be the root view of a window and so you should be able to animate the view :) Hope it helps

提交回复
热议问题