How do I change the number of thumbnails seen in the Android sample Home application?
Posted
by Todd
on Stack Overflow
See other posts from Stack Overflow
or by Todd
Published on 2010-03-16T20:11:24Z
Indexed on
2010/03/16
22:31 UTC
Read the original article
Hit count: 175
I am working with the sample Home application project on http://developer.android.com/resources/samples/Home/index.html
I've added another value to the THUMBS_IDS and IMAGE_IDS Integer arrays in the Wallpaper class for a total of four wallpaper options.
When I run the application with Device API version 7, Skin: HVGA, hw.lcd.density: 160, in portrait layout, the fourth wallpaper option is not shown.
I need to use the directional keys in the emulator to see the 4th wallpaper option, because the first option is centered.
I have modified only the wallpaper.xml file with a variety of android:layout_* options with no success at this point.
How do I show all four of my wallpaper options?
© Stack Overflow or respective owner