I hope this is the correct forum to tell concerns about lint. If not, I'm 
sorry and please tell me how should I proceed.

I quite often encounter this lint warning in Android Studio 0.8.11:

Avoid passing null as the view root (needed to resolve layout parameters on 
> the inflated layout's root element)


on LayoutInflater#inflate method calls.

I know I should pass the parent ViewGroup, but what should I pass as the 
second parameter in case I inflate this layout for an AlertDialog's custom 
view or for ActionBar's custom view?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to