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
'@android:drawable/ic_media_stop').

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

-- 



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.

Regards,
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. Voice Recognition like in Voice Search? (STT)

You can find the doc for 1.1 on the new homepage:
http://developer.android.com/reference/packages.html

AFAIK voice recognition is not part of the SDK, at least it's not
mentioned in the changes:
http://developer.android.com/sdk/android-1.1.html#api-changes

Christoph





--~--~---------~--~----~------------~-------~--~----~

2. Refreshing sdcard from code after pushing file to sdcard

I've got some code that downloads mp3s remotely over a streaming url 
connection... This all works fine but my problem is once the file is 
complete and I pull up the music app it's not there. A reboot of the 
phone and it now shows up... anyone know how to force this refresh to 
occur from without my code?

Any help is greatly appreciated.

Regards.

--~--~---------~--~----~------------~-------~--~----~

3. Any reason for not supporting capital letters in image file names of aapt tool

4. New to Android/Java, Creating a Test Program

5. Easy way to restarting soft keyboard service?

6. onSaveInstanceState and onRestoreInstanceState are not properly called

7. Extending AdapterView - getting only 1 level of children