public class BackgroundFactory
extends java.lang.Object
implements android.view.LayoutInflater.Factory2
| 构造器和说明 |
|---|
BackgroundFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
android.view.View |
onCreateView(java.lang.String name,
android.content.Context context,
android.util.AttributeSet attrs) |
android.view.View |
onCreateView(android.view.View parent,
java.lang.String name,
android.content.Context context,
android.util.AttributeSet attrs) |
void |
setInterceptFactory(android.view.LayoutInflater.Factory factory) |
void |
setInterceptFactory2(android.view.LayoutInflater.Factory2 factory) |
static android.view.View |
setViewBackground(android.content.Context context,
android.util.AttributeSet attrs,
android.view.View view) |
public android.view.View onCreateView(java.lang.String name,
android.content.Context context,
android.util.AttributeSet attrs)
onCreateView 在接口中 android.view.LayoutInflater.Factory@Nullable
public static android.view.View setViewBackground(android.content.Context context,
android.util.AttributeSet attrs,
android.view.View view)
public void setInterceptFactory(android.view.LayoutInflater.Factory factory)
public void setInterceptFactory2(android.view.LayoutInflater.Factory2 factory)
public android.view.View onCreateView(android.view.View parent,
java.lang.String name,
android.content.Context context,
android.util.AttributeSet attrs)
onCreateView 在接口中 android.view.LayoutInflater.Factory2