public static interface LayoutInflater.Factory
View onCreateView(String name, Context context, AttributeSet attrs)
Note that it is good practice to prefix these custom names with your package (i.e., com.coolcompany.apps) to avoid conflicts with system names.
name- Tag name to be inflated.
context- The context the view is being created in.
attrs- Inflation attributes as specified in XML file.