Activity.OnCreateView メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| OnCreateView(View, String, Context, IAttributeSet) |
Context.getSystemService(Class) によって返される LayoutInflater で拡張するときに使用される android.view.LayoutInflater.Factory2.onCreateView(View,String,Context,AttributeSet) の標準実装。 |
| OnCreateView(String, Context, IAttributeSet) |
Context.getSystemService(Class) によって返される LayoutInflater で拡張するときに使用される LayoutInflater.Factory.onCreateView(String、Context、AttributeSet) の標準実装。 |
OnCreateView(View, String, Context, IAttributeSet)
Context.getSystemService(Class) によって返される LayoutInflater で拡張するときに使用される android.view.LayoutInflater.Factory2.onCreateView(View,String,Context,AttributeSet) の標準実装。
[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
パラメーター
- parent
- View
ビュー: この値は null である可能性があります。
- name
- String
文字列: この値を null にすることはできません。
- context
- Context
コンテキスト: この値を null にすることはできません。
- attrs
- IAttributeSet
AttributeSet: この値を null にすることはできません。
返品
この値は null である可能性があります。
実装
- 属性
注釈
Context.getSystemService(Class) によって返される LayoutInflater で拡張するときに使用される android.view.LayoutInflater.Factory2.onCreateView(View,String,Context,AttributeSet) の標準実装。 この実装では、アクティビティ内にフラグメントを埋め込むタグを処理します。
関連項目も参照:
android.app.Activity.onCreateViewの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
OnCreateView(String, Context, IAttributeSet)
Context.getSystemService(Class) によって返される LayoutInflater で拡張するときに使用される LayoutInflater.Factory.onCreateView(String、Context、AttributeSet) の標準実装。
[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
パラメーター
- name
- String
文字列: この値を null にすることはできません。
- context
- Context
コンテキスト: この値を null にすることはできません。
- attrs
- IAttributeSet
AttributeSet: この値を null にすることはできません。
返品
この値は null である可能性があります。
実装
- 属性
注釈
Context.getSystemService(Class) によって返される LayoutInflater で拡張するときに使用される LayoutInflater.Factory.onCreateView(String、Context、AttributeSet) の標準実装。 この実装では何も行われないため、事前Build.VERSION_CODES用です。新しいアプリケーションを作成します。 新しいアプリでは onCreateView(View,String,Context,AttributeSet) を使用する必要があります。
関連項目も参照:
android.app.Activity.onCreateViewの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。