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
Check the file you are passing to setContentView (or whatever file you
are using for your view) inside your activity. Line 26 is missing the
required attribute.
On Feb 15, 5:28 pm, ying lcs ying...@gmail.com wrote:
I get the following error in logcat:
java.lang.RuntimeException: Binary XML
This error message means that the layout file for this particular
activity does not specify the layout height attribute. I would guess
that the LinearLayout height should be set to fill_parent, so that it
would consume the entire screen (vertically).
Hope that makes sense,
Sergey
ying lcs
3 matches
Mail list logo