共用方式為


Toolbar.SetSubtitleTextAppearance(Context, Int32) Method

Definition

Sets the text color, size, style, hint color, and highlight color from the specified TextAppearance resource.

[Android.Runtime.Register("setSubtitleTextAppearance", "(Landroid/content/Context;I)V", "GetSetSubtitleTextAppearance_Landroid_content_Context_IHandler")]
public virtual void SetSubtitleTextAppearance (Android.Content.Context? context, int resId);
[<Android.Runtime.Register("setSubtitleTextAppearance", "(Landroid/content/Context;I)V", "GetSetSubtitleTextAppearance_Landroid_content_Context_IHandler")>]
abstract member SetSubtitleTextAppearance : Android.Content.Context * int -> unit
override this.SetSubtitleTextAppearance : Android.Content.Context * int -> unit

Parameters

context
Context
resId
Int32
Attributes

Remarks

Sets the text color, size, style, hint color, and highlight color from the specified TextAppearance resource.

Java documentation for android.widget.Toolbar.setSubtitleTextAppearance(android.content.Context, 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