Not having much luck on this forum so far. Seems that I send emails to the group and it can take days before they even show up. Anyway, I was looking at the Action Menu (I think this is what MailDroid uses) and I was trying to see if I could get this working, but as soon as I put the following line into my menu.xml file Eclipse complains and won't create my R resource file:

*android:showAsAction="ifRoom"
*
I get an error message stating the following:
*[2011-02-24 16:15:00 - AndGolfCaddie] W/ResourceType( 6244): Bad XML block: header size 144 or total size 3473604 is larger than data size 0 [2011-02-24 16:15:00 - AndGolfCaddie] C:\Users\dwilliams\workspace\AndGolfCaddie\res\menu\main_menu.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
*
I am still very, very new to all of this so it is very possible that I am doing something wrong. My phone has Froyo yet the action menu (if that's what it is) in MailDroid works fine.

My full menu.xml file is as follows:

*<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android";>
<item android:id="@+id/prefs"
          android:icon="@drawable/prefs_icon"
          android:showAsAction="ifRoom"
          android:title="@string/prefs" />
<item android:id="@+id/stats"
          android:icon="@drawable/stats_icon"
          android:title="@string/stats" />
<item android:id="@+id/prev_rounds"
          android:icon="@drawable/prev_rounds"
          android:title="@string/prev_rounds" />
</menu>*

--
------------------------------------------------------------------------

David Williams
Check out our WebOS mobile phone app for the Palm Pre and Pixi:
<http://www.dtw-consulting.com/GolfCaddie> Golf Caddie <http://www.dtw-consulting.com/GolfCaddie> | Golf Caddie Forum <http://www.dtw-consulting.com/GolfCaddie/forum> | Golf Caddie FAQ <http://www.dtw-consulting.com/GolfCaddie/faq.html> by DTW-Consulting, Inc.


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

<<inline: GClogo.png>>

Reply via email to