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. How to convert inputStream to string

im retriving XML file from url
im currantly using XmlReader
but for some xml its crashing on me
i whould like to manipulate the xml before parsing
but i dont know how to get the xml String from the ImputStream


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

2. How to change App Widget size on home screen?

Hi.

I'm  making App Widget program on Android 1.5
I wonder if I can change my app widget size on home screen .
I can set my app widget's size  in XML file.
But, how can I change it's size after my app widget  launched from
home screen ?

I want to add some button to my app widget that can change it's own
app widget size.
Is this possible?

Thanks.

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

3. What is needed to use Dev 1 phone with T-Mobile?

4. Help!IME apk app installing problem in US official cupcake

5. How I can create a system process

6. Image processing

7. can we use "adb install" or other else command to install all of .apk in a Dir once?