Something's got to be different.

Open R.java and scan for your view id there, check to see if maybe you have a close sounding ID, or there is a capitalization difference.

-- Kostya

26.07.2010 21:05, Bret Foreman пишет:
I mistyped. The file path is actually res/layout-land. The exception
is happening when I call findViewById for one particular button. I
stared at the two xml files as carefully as I could and the ID of that
button is identical in both files. Other buttons are not causing any
trouble. To add to the frustration, the logcat does not show the
exception, though the system does a Force-Close at the exact point of
calling findViewById for that button in the debugger.



--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to