Lenguaje

Activity.OnCreateView Método

Definición

Sobrecargas

Nombre Description
OnCreateView(View, String, Context, IAttributeSet)

Implementación estándar de android.view.LayoutInflater.Factory2#onCreateView(View, String, Context, AttributeSet) se usa al inflar con layoutInflater devuelto por #getSystemService.

OnCreateView(String, Context, IAttributeSet)

Implementación estándar de android.view.LayoutInflater.Factory#onCreateView usada al inflar con layoutInflater devuelto por #getSystemService.

OnCreateView(View, String, Context, IAttributeSet)

Implementación estándar de android.view.LayoutInflater.Factory2#onCreateView(View, String, Context, AttributeSet) se usa al inflar con layoutInflater devuelto por #getSystemService.

[Android.Runtime.Register("onCreateView", "(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;", "GetOnCreateView_Landroid_view_View_Ljava_lang_String_Landroid_content_Context_Landroid_util_AttributeSet_Handler")]
public virtual Android.Views.View? OnCreateView(Android.Views.View? parent, string name, Android.Content.Context context, Android.Util.IAttributeSet attrs);
[<Android.Runtime.Register("onCreateView", "(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;", "GetOnCreateView_Landroid_view_View_Ljava_lang_String_Landroid_content_Context_Landroid_util_AttributeSet_Handler")>]
abstract member OnCreateView : Android.Views.View * string * Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.View
override this.OnCreateView : Android.Views.View * string * Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.View

Parámetros

parent
View

Vista: este valor puede ser NULL.

name
String

String: este valor no puede ser NULL.

context
Context

Contexto: este valor no puede ser NULL.

attrs
IAttributeSet

AttributeSet: este valor no puede ser NULL.

Devoluciones

Este valor puede ser null.

Implementaciones

Atributos

Comentarios

Implementación estándar de android.view.LayoutInflater.Factory2.onCreateView(View,String,Context,AttributeSet) usada al inflar con el LayoutInflater devuelto por Context.getSystemService(Class). Esta implementación controla las etiquetas para insertar fragmentos dentro de la actividad.

Consulte también:

Referencia de Android para android.app.Activity.onCreateView.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

OnCreateView(String, Context, IAttributeSet)

Implementación estándar de android.view.LayoutInflater.Factory#onCreateView usada al inflar con layoutInflater devuelto por #getSystemService.

[Android.Runtime.Register("onCreateView", "(Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;", "GetOnCreateView_Ljava_lang_String_Landroid_content_Context_Landroid_util_AttributeSet_Handler")]
public virtual Android.Views.View? OnCreateView(string name, Android.Content.Context context, Android.Util.IAttributeSet attrs);
[<Android.Runtime.Register("onCreateView", "(Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;", "GetOnCreateView_Ljava_lang_String_Landroid_content_Context_Landroid_util_AttributeSet_Handler")>]
abstract member OnCreateView : string * Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.View
override this.OnCreateView : string * Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.View

Parámetros

name
String

String: este valor no puede ser NULL.

context
Context

Contexto: este valor no puede ser NULL.

attrs
IAttributeSet

AttributeSet: este valor no puede ser NULL.

Devoluciones

Este valor puede ser null.

Implementaciones

Atributos

Comentarios

Implementación estándar de LayoutInflater.Factory.onCreateView(String, Context, AttributeSet) usada al inflar con layoutInflater devuelto por Context.getSystemService(Class). Esta implementación no hace nada y es para Build.VERSION_CODES previos. Aplicaciones HONEYCOMB. Las aplicaciones más recientes deben usar onCreateView(View,String,Context,AttributeSet).

Consulte también:

Referencia de Android para android.app.Activity.onCreateView.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a