Wallpaper Describes how an activity uses a style to wallpaper the system as the context 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>
The @style/theme.wallpaper is defined as follows: Inherits the system Android:style/theme.wallpaper and sets the foreground color to white (here is the color of the text)
<!-- A theme that have A wallpaper background. Here we explicitly specify this theme are to inherit from the system ' s wallpaper theme , which sets up Various attributes correctly. -- <style name= "Theme.wallpaper" parent= "Android:style/theme.wallpaper" > <item name= "Android : Colorforeground "> #fff </item> </style>
"Sail Plan 016" 2015 sail plan Android Apidemo The devil pace of the app->activity->wallpaper system wallpaper as the current Activity background