壁纸背景设置选项 [英] wallpaper background setting option

查看:77
本文介绍了壁纸背景设置选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经创建了壁纸,我已经给出了背景选择的偏好活动,但是我的应用程序很糟糕。请帮我搞定。























谢谢和问候

bhavani.a在wallpaper.xml中

Hi All,
I have creating wallpaper and i have give preference activity for background selection in that but my application is crass.Please help me to get that.











Thanks®ards
bhavani.a

推荐答案







< wallpaper xmlns: android =http://schemas.android.com/apk/res/android>

android:thumbnail =@ drawable / cn



android:description =@ string / description

android:settingsActivity =com.visusoft.rainwallpaper.LiveWallpaperSettings/>





清单



<活动android:label =livewallpaper_settings>

android:name =com.visusoft.rainwallpaper.LiveWallpaperSettings

android:theme =@ android:style / Theme.L ight.WallpaperSettings

android:exported =true

android:icon =@ drawable / icon>
in wallpaper.xml


<wallpaper xmlns:android="http://schemas.android.com/apk/res/android">
android:thumbnail="@drawable/cn"

android:description="@string/description"
android:settingsActivity="com.visusoft.rainwallpaper.LiveWallpaperSettings" />


in manifest

<activity android:label="livewallpaper_settings">
android:name="com.visusoft.rainwallpaper.LiveWallpaperSettings"
android:theme="@android:style/Theme.Light.WallpaperSettings"
android:exported="true"
android:icon="@drawable/icon">

这篇关于壁纸背景设置选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆