共用方式為


Dialog.Show Method

Definition

Start the dialog and display it on screen.

[Android.Runtime.Register("show", "()V", "GetShowHandler")]
public virtual void Show ();
[<Android.Runtime.Register("show", "()V", "GetShowHandler")>]
abstract member Show : unit -> unit
override this.Show : unit -> unit
Attributes

Remarks

Start the dialog and display it on screen. The window is placed in the application layer and opaque. Note that you should not override this method to do initialization when the dialog is shown, instead implement that in #onStart.

Java documentation for android.app.Dialog.show().

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