Q:

Android: Getting 'You must supply a layout_width attribute' although application was working fine before

Forget about the obvious thing that I am missing both a layout_width and layout_height. 
Everything was working great. I defined a base theme like this: 
<style name="Base" parent="@android:style/Theme.Light.NoTitleBar">
        <item name="android:layout_width">fill_parent</item>
        <item name="android:layout_height">wrap_content</item>              
    </style>

And I applied it to the application. 
Everything was working OK and I didn't need to applied those same attributes everywhere which is annoying. 
Suddenly, I am getting these errors, and usually in the layouts of the single items views of the adapters. 
The only thing that I think of is that I am using <include> tags now, to add a toolbar. 
Has anyone experienced the same thing? The solution right now is to add manually the values as I run the application and get the error. 
I wanted to know if I am alone in this or should I submit a bug. 
Thanks!

A:

Perhaps you inflate some view with View.inflate(R.layout.some_view) ? In this case, probably, the theme won't be applied.

