开发者

Add a live background to an Android View (like the Twitter App)

开发者 https://www.devze.com 2023-01-17 08:31 出处:网络
In the official Twitter Android app, the opening activity (the dashboard) and the Tweets tab activity have a live background/wallpaper (clouds moving, etc).开发者_Python百科

In the official Twitter Android app, the opening activity (the dashboard) and the Tweets tab activity have a live background/wallpaper (clouds moving, etc).

开发者_Python百科

How do you accomplish that?

Is it as simple as setting your view's background to a live wallpaper drawable?

And then adding <uses-feature android:name="android.software.live_wallpaper" /> to your manifest?


It's definitely not using a live wallpaper. You can create a custom Drawable or a custom View and draw the animation yourself.


Adobe AIR? Maybe?
labs.adobe.com

0

精彩评论

暂无评论...
验证码 换一张
取 消