开发者

Could live wallpaper be set as background?

开发者 https://www.devze.com 2023-03-25 11:27 出处:网络
Is it possible to 开发者_JS百科set some of the live wallpapers as a background of an activity ?Sure, just add this attribute to your <activity> tag in the manifest:

Is it possible to 开发者_JS百科set some of the live wallpapers as a background of an activity ?


Sure, just add this attribute to your <activity> tag in the manifest:

android:theme="@android:style/Theme.Wallpaper"


This is possible and was displayed at the Google I/O 2010. If you watch this video about 34m40s into the presentation you can see that the google developers utilise shipped live wallpapers as background for an activity.

https://www.youtube.com/watch?v=M1ZBjlCRfz0&feature=youtube_gdata_player

Don't know where an example is.... but it CAN be done.

0

精彩评论

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