Udostępnij za pośrednictwem


ActionBar.SetSubtitle(Int32) Method

Definition

Set the action bar's subtitle.

[Android.Runtime.Register("setSubtitle", "(I)V", "GetSetSubtitle_IHandler")]
public abstract void SetSubtitle (int resId);
[<Android.Runtime.Register("setSubtitle", "(I)V", "GetSetSubtitle_IHandler")>]
abstract member SetSubtitle : int -> unit

Parameters

resId
Int32

Resource ID of subtitle string to set

Attributes

Remarks

Set the action bar's subtitle. This will only be displayed if #DISPLAY_SHOW_TITLE is set.

Java documentation for android.app.ActionBar.setSubtitle(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

See also

  • SubtitleFormatted
  • <xref:Android.App.ActionBar.SetDisplayOptions(Android.App.ActionBarDisplayOptions%2c+Android.App.ActionBarDisplayOptions)>