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. Android 1.5 Spare parts Battery History does not display any data

Because the emulator doesn't have a battery?

j






-- 
Jeff Sharkey
jshar...@android.com

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

2. Screenshots on AndAppStore

It seems like having screen shots was something developers wanted so it's been 
added to AndAppStore.

You can add them using your applications submission page (the same one as 
releases and purchasing options get added to), and to get an idea of how 
they'll look to users you can go to 
http://andappstore.com/AndroidPhoneApplications/apps/66602

(And yes, users using the native android client will automatically get them as 
well).

Comments, as always, are welcome....

Al.

---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries. 



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

3. Problem of using switch_class for headset detection

4. Magic review

5. Bluetooth microphone activation

6. java libraries

7. Speed: Divide by two or multiply by .5? - I wrote a little FPS performance tester to find out.