public interface LayoutInflaterFactory
LayoutInflaterCompat.setFactory()
. Offers the same API as
LayoutInflater.Factory2
.Modifier and Type | Method and Description |
---|---|
View |
onCreateView(View parent,
String name,
Context context,
AttributeSet attrs)
Hook you can supply that is called when inflating from a LayoutInflater.
|
View onCreateView(View parent, String name, Context context, AttributeSet attrs)
parent
- The parent that the created view will be placed
in; note that this may be null.name
- Tag name to be inflated.context
- The context the view is being created in.attrs
- Inflation attributes as specified in XML file.