ying lcs wrote:
> I get the following error in logcat:
> 
> java.lang.RuntimeException: Binary XML file line #26: You must supply
> a layout_height attribute.
> 
> Can you please tell me which xml file that I am missing? 

You are not missing a file. However, one of your layout XML files has an
element that is missing the android:layout_height attribute.
Unfortunately, the error processing does not really tell you which
layout it is.

> And it said
> 'binary xml', does it mean it is actually line 26 in my file?

Yes. "Binary XML" technically refers to the aapt-compacted version of
the layout, but it is still line 26 of whichever layout it is.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to