The problem may be that the icon always showing is the same name as the drawable xml file. Rename your image icons, possibly by adding a prefix like ‘ic_’ to your image file or Android will always show the image that has the name of the drawable xml file instead of look into the xml file to see which image it should be showing for which state.
Blog Stats
- 105,947 hits
-
Recent
Topics
achaean adobe air adobeair ajax android aol apple ascii audio bash big-endian binary bit.ly books boolean brizzly byte order C++ canvas chapter 2 char chrome coding Computer Systems Book conversion css decimal design diomedes irc django dojo download extension fieldrunners float google closure hackbitly halo wars hexadecimal html5 int integers iphone irc irc client javascript learning little-endian logic models mp3 music nsstring oauth objective-c ogg open source oss overflow addition programming project euler python shift softpedia spam spell checking string twitter two's complement types unit testing unsigned url encode vim xbox360