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. APN Problem

Hi I am trying to use my ISP network but unfortunately I am unable to
configure the APN.

How to add a new APN manually?

Actually I am getting this error message when I use the android interface:

E/TelephonyProvider( 2116): Failed setting numeric 'null' to the
current operator
D/MobileDataStateTracker( 2049): default Received state= DISCONNECTED,
old= DISCONNECTED, reason= apnChanged, apnTypeList= default

The APN configuration is:

APN Name: claro
MMC: 724
MCC; 05
User: claro
Password: claro

I've found 3 files with APN configuration:

/data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml
/system/etc/apns-conf.xml
/data/data/com.android.providers.telephony/databases/telephony.db


How to proceed?


Thanks very much.



-- 
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
http://hvera.wordpress.com

-- 

2. ViewFlipper with just one View

Hi!
I'm planning on creating an app with a news page with image, title,
content, etc.
The "flip" animations used in most ViewFlipper applications are great
but have one problem: only work with a ViewFlipper with a determinate
number of view (in my case, I don't know how many news there are).

The only solution I found is to duplicate the View, prepare the
contents off-screen then call ViewFlipper's showNext() when the "Next"
button is pressed. This is a cumbersome and wasteful. Is there any
other way to do this?

Thanks in advance!

-- 

3. Activity - get notified when all views are rendered

4. How to scroll/move text within TextView on home screen widget ?

5. Supportting multiple MPEG-4 decoders??

6. cant compile android tree git://android.git.kernel.org

7. some quesitions for new decoder integration process of opencore framework