Specific drawable not working?????

by mikedrmfs » Fri, 20 May 2011 09:30:40 GMT

Sponsored Links
 In a very simple menu the drawable @android:drawable/ic_media_stop
doesn''t work and @android:drawable/ic_media_pause does.

I get problem
[2011-05-19 14:04:52 - Twitter Update] W/ResourceType( 7852): Bad XML
block: header size 151 or total size 0 is larger than data size 0
[2011-05-19 14:04:52 - Twitter Update] M:\Development\Eclipse_Java
\eclipse\Workapace\Twitter Update\res\menu\menu.xml:6: error: Error:
No resource found that matches the given name (at 'icon' with value

Both of them are in
M:\Program Files\Android\android-sdk\platforms\android-8\data\res


Re: Specific drawable not working?????

by Marcin Orlowski » Fri, 20 May 2011 16:46:37 GMT


You should copy drawables to your app's res folder.

Marcin Orlowski

*Tray Agenda < http://bit.ly/trayagenda> ;* - keep you daily schedule handy...
*Date In Tray* < http://bit.ly/dateintraypro> ; - current date at glance...
WebnetMobile on *Facebook < http://webnetmobile.com/fb/> ;* and
*Twitter< http://webnetmobile.com/twitter/> ;


Sponsored Links

Other Threads

1. Ubuntu Karmic Koala (9.10)

You may have run into a few problems with this upgrade.  Here is how
you get eclipse running again


to run the new Android SDK and AVD Manager from the command line use
this command first:




I am hoping for a better fix in the near future


2. Task or application equivalent of onPause

My application uses a remote service to play audio.  I do this so that
no activity owns the playback of the audio - the user can trigger some
audio to be played from one Activity, and the audio will continue to
play as they navigate around the app.  I do, however, want to tell the
service to pause or stop playing audio when the user "unloads" the app
either by backing out or hitting Home.  When the app was a single
activity, I was doing this in onPause.  So, I guess I'm essentially
looking for "onPause" at the application/task level.  Does such thing
exist?  If not, what is the "best practice" way of getting notified
that the task has been put on hold by the user either backing all the
way out or hitting Home?


3. Enabling SVG in Android's Webkit

4. android 1.6 emulator not shown in ddms

5. Obral Android NEW + 2nd, Buruan :)

6. Layout problems

7. How to add a Fixed header in ListActivity - List4.java