Window.SetTitle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetTitle(ICharSequence) |
Sets a user-facing title for the window. |
SetTitle(String) |
Sets a user-facing title for the window. |
SetTitle(ICharSequence)
Sets a user-facing title for the window.
[Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)V", "GetSetTitle_Ljava_lang_CharSequence_Handler")]
public abstract void SetTitle(Java.Lang.ICharSequence? title);
[<Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)V", "GetSetTitle_Ljava_lang_CharSequence_Handler")>]
abstract member SetTitle : Java.Lang.ICharSequence -> unit
Parameters
- title
- ICharSequence
- Attributes
Remarks
Sets a user-facing title for the window.
This title may be shown to the user in the window's title or action bar if the #requestFeature requested features
provide such a bar. It is also exposed through android.view.accessibility.AccessibilityWindowInfo#getTitle
.
Java documentation for android.view.Window.setTitle(java.lang.CharSequence)
.
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
SetTitle(String)
Sets a user-facing title for the window.
public void SetTitle(string? title);
member this.SetTitle : string -> unit
Parameters
- title
- String
Remarks
Sets a user-facing title for the window.
This title may be shown to the user in the window's title or action bar if the #requestFeature requested features
provide such a bar. It is also exposed through android.view.accessibility.AccessibilityWindowInfo#getTitle
.
Java documentation for android.view.Window.setTitle(java.lang.CharSequence)
.
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.