共用方式為


FragmentTransaction.SetBreadCrumbShortTitle Method

Definition

Overloads

SetBreadCrumbShortTitle(ICharSequence)

Like #setBreadCrumbShortTitle(int) but taking a raw string; this method is <em>not</em> recommended, as the string can not be changed later if the locale changes.

SetBreadCrumbShortTitle(Int32)

Set the short title to show as a bread crumb when this transaction is on the back stack, as used by FragmentBreadCrumbs.

SetBreadCrumbShortTitle(String)

Like #setBreadCrumbShortTitle(int) but taking a raw string; this method is <em>not</em> recommended, as the string can not be changed later if the locale changes.

SetBreadCrumbShortTitle(ICharSequence)

Like #setBreadCrumbShortTitle(int) but taking a raw string; this method is <em>not</em> recommended, as the string can not be changed later if the locale changes.

[Android.Runtime.Register("setBreadCrumbShortTitle", "(Ljava/lang/CharSequence;)Landroid/app/FragmentTransaction;", "GetSetBreadCrumbShortTitle_Ljava_lang_CharSequence_Handler")]
public abstract Android.App.FragmentTransaction? SetBreadCrumbShortTitle (Java.Lang.ICharSequence? text);
[<Android.Runtime.Register("setBreadCrumbShortTitle", "(Ljava/lang/CharSequence;)Landroid/app/FragmentTransaction;", "GetSetBreadCrumbShortTitle_Ljava_lang_CharSequence_Handler")>]
abstract member SetBreadCrumbShortTitle : Java.Lang.ICharSequence -> Android.App.FragmentTransaction

Parameters

Returns

Attributes

Remarks

Like #setBreadCrumbShortTitle(int) but taking a raw string; this method is <em>not</em> recommended, as the string can not be changed later if the locale changes.

Java documentation for android.app.FragmentTransaction.setBreadCrumbShortTitle(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

SetBreadCrumbShortTitle(Int32)

Set the short title to show as a bread crumb when this transaction is on the back stack, as used by FragmentBreadCrumbs.

[Android.Runtime.Register("setBreadCrumbShortTitle", "(I)Landroid/app/FragmentTransaction;", "GetSetBreadCrumbShortTitle_IHandler")]
public abstract Android.App.FragmentTransaction? SetBreadCrumbShortTitle (int res);
[<Android.Runtime.Register("setBreadCrumbShortTitle", "(I)Landroid/app/FragmentTransaction;", "GetSetBreadCrumbShortTitle_IHandler")>]
abstract member SetBreadCrumbShortTitle : int -> Android.App.FragmentTransaction

Parameters

res
Int32

A string resource containing the title.

Returns

Attributes

Remarks

Set the short title to show as a bread crumb when this transaction is on the back stack, as used by FragmentBreadCrumbs.

Java documentation for android.app.FragmentTransaction.setBreadCrumbShortTitle(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

SetBreadCrumbShortTitle(String)

Like #setBreadCrumbShortTitle(int) but taking a raw string; this method is <em>not</em> recommended, as the string can not be changed later if the locale changes.

public Android.App.FragmentTransaction? SetBreadCrumbShortTitle (string? text);
member this.SetBreadCrumbShortTitle : string -> Android.App.FragmentTransaction

Parameters

text
String

Returns

Remarks

Like #setBreadCrumbShortTitle(int) but taking a raw string; this method is <em>not</em> recommended, as the string can not be changed later if the locale changes.

Java documentation for android.app.FragmentTransaction.setBreadCrumbShortTitle(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