Aracılığıyla paylaş


Activity.SetTitle(Int32) Method

Definition

Change the title associated with this activity.

[Android.Runtime.Register("setTitle", "(I)V", "GetSetTitle_IHandler")]
public virtual void SetTitle (int titleId);
[<Android.Runtime.Register("setTitle", "(I)V", "GetSetTitle_IHandler")>]
abstract member SetTitle : int -> unit
override this.SetTitle : int -> unit

Parameters

titleId
Int32
Attributes

Remarks

Change the title associated with this activity. If this is a top-level activity, the title for its window will change. If it is an embedded activity, the parent can do whatever it wants with it.

Java documentation for android.app.Activity.setTitle(int).

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