For what it's worth I decided to use 144, 96 and 72 for high, medium
and low density, as this seemed to follow the general ratios of other
icon types, and looks best on the emulator and devices.
Would be nice to have this officially documented somewhere though.
Regards
James
On Apr 20, 4:12
Does anyone happen to know the official required resolutions of the
Live Wallpaper thumbnail icons for the various densities? The
documentation doesn't mention a specific size.
The resolution used seems to be a lot larger than the launcher icon
resolution, using 48 for medium or 72 for high gives
In order to see an icon in the live wallpaper menu, you need to set
the android:thumbnail attribute for the applications Wallpaper tag.
This will normally be found in the XML file corresponding to the class
that extends WallpaperService.
Looking at the CubeLiveWallpaper sample application
So, anyone have any ideas why my icon doesn't show up in the list of Live
Wallpapers (just the generic icon shows), but DOES show up in the Wallpaper
menu, Configure entry after installing the wallpaper?
On Thu, Jan 6, 2011 at 1:18 PM, John Lussmyer johnlussm...@gmail.comwrote:
Okay, I didn't
You generally have a file like /res/xml/MyWallpaper.xml with a
wallpaper tag as the root. This is where you define the settings
activity and thumbnail icon, which is generally the same as your app
icon, but can be different. See
Okay, I didn't have the icon specified there.
I've added it.
Uninstalled from the emulator, and re-installed.
The icon still doesn't show up in the Live Wallpapers menu, and no errors
are displayed in logcat.
(Sure wish my ATT 2.1 phone supported Live Wallpapers!)
On Thu, Jan 6, 2011 at 12:26 PM,
Nevermind. I figured it out. I just re-read the info in R.styleable
and realized that I was putting full tags in when it really wanted
attributes. Here's probably what should be in an example:
wallpaper xmlns:android=http://schemas.android.com/apk/res/android;
7 matches
Mail list logo