Wallpaper Describes how an activity can use the style to wallpaper the system as the background of the current activity.
This is the definition of wallpaperactivity in Androidmanifest.xml:
<activity android:name= ". App. Wallpaperactivity "
Android:label= "@string/activity_wallpaper"
Android:theme= "@style/theme.wallpaper" >
<intent-filter>
< action android:name= "Android.intent.action.MAIN"/>
<category android:name= "Android.intent.category.SAMPLE_CODE"/>
</intent-filter>
</activity>
@style/theme.wallpaper is defined as follows: Inherit the system Android:style/theme.wallpaper and set the foreground color to white (here is the colour of the text)
<!–a theme that has A wallpaper background. Here we explicitly specify
That this theme are to inherit from the system ' wallpaper theme,
Which sets up various attributes correctly. –>
<style name= "Theme.wallpaper" parent= "Android:style/theme.wallpaper" >
<item name= "Android:colorforeground" > #fff </item>
</style>