Getting message in android app: Binary XML file line #2: You must supply a layout_width attribute.
- by opike
I'm trying to use a ListView inside of a RelativeLayout but when I run my app I get a runtimeexception with the message:
Binary XML file line #2: You must supply a layout_width attribute.
I tried putting layout_width attributes in every conceivable place in the xml resource files but so far no luck.
I attempt to populate the listview with this…