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. Activity stack: A B C -> press BACK -> go to A

Hi,
my activity stack is ABC, in activity C I press back, and return to B,
then press back again and go to A. What should I do to return to A
directly from C?
--~--~---------~--~----~------------~-------~--~----~

2. Installing content provider with app

Hi,

How do you go about putting both an application and a content provider
in the one .apk file
i.e. The have separate manifest files.

Any pointers much appreciated.
Steve
--~--~---------~--~----~------------~-------~--~----~

3. New adb features pushed to master

4. how to use shell command in Android app

5. Service - Activity (simplest way)

6. Setting FilterQueryProvider on one ListView affects content of other ListView

7. LocationProvider Comaprable/Comparator