DialogFragment.SetStyle(DialogFragmentStyle, Int32) DialogFragment.SetStyle(DialogFragmentStyle, Int32) Method

Definition

Call to customize the basic appearance and behavior of the fragment's dialog.

[Android.Runtime.Register("setStyle", "(II)V", "GetSetStyle_IIHandler")]
public virtual void SetStyle (Android.App.DialogFragmentStyle style, int theme);
abstract member SetStyle : Android.App.DialogFragmentStyle * int -> unit
override this.SetStyle : Android.App.DialogFragmentStyle * int -> unit

Parameters

style
DialogFragmentStyle DialogFragmentStyle

Selects a standard style: may be Normal, NoTitle, NoFrame, or NoInput.

theme
Int32 Int32

Optional custom theme. If 0, an appropriate theme (based on the style) will be selected for you.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to