ActionBar.LayoutParams 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ActionBar.LayoutParams(ActionBar+LayoutParams)
[Android.Runtime.Register(".ctor", "(Landroid/app/ActionBar$LayoutParams;)V", "")]
public LayoutParams(Android.App.ActionBar.LayoutParams? source);
[<Android.Runtime.Register(".ctor", "(Landroid/app/ActionBar$LayoutParams;)V", "")>]
new Android.App.ActionBar.LayoutParams : Android.App.ActionBar.LayoutParams -> Android.App.ActionBar.LayoutParams
參數
- source
- ActionBar.LayoutParams
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ActionBar.LayoutParams(GravityFlags)
[Android.Runtime.Register(".ctor", "(I)V", "")]
public LayoutParams(Android.Views.GravityFlags gravity);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.App.ActionBar.LayoutParams : Android.Views.GravityFlags -> Android.App.ActionBar.LayoutParams
參數
- gravity
- GravityFlags
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ActionBar.LayoutParams(ViewGroup+LayoutParams)
[Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$LayoutParams;)V", "")]
public LayoutParams(Android.Views.ViewGroup.LayoutParams? source);
[<Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$LayoutParams;)V", "")>]
new Android.App.ActionBar.LayoutParams : Android.Views.ViewGroup.LayoutParams -> Android.App.ActionBar.LayoutParams
參數
- source
- ViewGroup.LayoutParams
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ActionBar.LayoutParams(Context, IAttributeSet)
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public LayoutParams(Android.Content.Context c, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.App.ActionBar.LayoutParams : Android.Content.Context * Android.Util.IAttributeSet -> Android.App.ActionBar.LayoutParams
參數
- c
- Context
- attrs
- IAttributeSet
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ActionBar.LayoutParams(Int32, Int32)
[Android.Runtime.Register(".ctor", "(II)V", "")]
public LayoutParams(int width, int height);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.App.ActionBar.LayoutParams : int * int -> Android.App.ActionBar.LayoutParams
參數
- width
- Int32
- height
- Int32
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ActionBar.LayoutParams(IntPtr, JniHandleOwnership)
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。
protected LayoutParams(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.ActionBar.LayoutParams : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.ActionBar.LayoutParams
參數
- transfer
- JniHandleOwnership
JniHandleOwnership,指出如何處理javaReference
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ActionBar.LayoutParams(Int32, Int32, GravityFlags)
[Android.Runtime.Register(".ctor", "(III)V", "")]
public LayoutParams(int width, int height, Android.Views.GravityFlags gravity);
[<Android.Runtime.Register(".ctor", "(III)V", "")>]
new Android.App.ActionBar.LayoutParams : int * int * Android.Views.GravityFlags -> Android.App.ActionBar.LayoutParams
參數
- width
- Int32
- height
- Int32
- gravity
- GravityFlags
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。