FragmentController.OnCreateView(View, String, Context, IAttributeSet) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
フラグメントのビューをインスタンス化します。
[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", ApiSince=23)]
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", ApiSince=23)>]
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
作成されたビューが配置される親。 <em>は null</em である可能性があることに注意してください>。
- name
- String
増やされるタグ名。
- context
- Context
ビューが作成されているコンテキスト。
- attrs
- IAttributeSet
XML ファイルで指定されているインフレーション属性。
戻り値
新しく作成されたビューを表示する
- 属性
注釈
フラグメントのビューをインスタンス化します。
このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。