I had a problem with this too. My problem was that I was making a
sliding drawer and forgot to add the id and xmlns to the enclosing
FrameLayout
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/frameLayout">
Adding that fixed it. Thats the problem with XML layout. Its hard to
debug it.
On Oct 13, 8:57 pm, jax <[email protected]> wrote:
> I have notices thatR.javasometimes noes not refresh when I edit (and
> save) an XML file. The only way I have been able to get around this
> is to attempt to run the project, this seems to fix it. This is
> however kind of annoying, does anyone know a better way around this
> problem? An eclipse shortcut key etc.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---