[android] Avoid passing null as the view root (needed to resolve layout parameters on the inflated layout’s root element)

[android] Avoid passing null as the view root (needed to resolve layout parameters on the inflated layout’s root element)

custom view에서 inflate를 할 때 이런 오류가 난다.

 

 

 

or