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. I want to run my application in system process instead of application

I want to run my application in system process instead of application
process.

Please help me.

Thanks,
Raju

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

2. Sending "BACK" key to the application through instrumentation ??

Hi all,

I am writing a test case to test the graphics API's using the test
runner. I am extending the ActivityInstrumentationTestCase class to
test the APi's.

The Activity corresponding to the API gets displayed in the emulator.
But in case of some API's the activity doesn end, and runs
infinitely.

The rcsclass under "com.example.android.apis.graphics" package in
APidemos is an example.

Due to this my further test cases don get executed.

I have tried following to come out of the activity

1> get the activity through getActivity() and calling the activity
finish.
    But the activity still runs continuously.

2> Sending a "BACK" key to the activity using sendKeys
(KeyEvent.KEYCODE_BACK);

  Is is possible to send a BACK or HOME key to the applicaton using
sendKeys ?

 Any help would be greatly appreciated.

 Thanks in advance.

 Sachin

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

3. A bug in WebView.java?

4. Where can I find the emulator console???

5. AAPT problem (exit code 139)

6. Create Bitmap from BitmapDrawable?

7. adb shell am profile