次の方法で共有


Toolbar.SetTitleTextAppearance(Context, Int32) Method

Definition

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

[Android.Runtime.Register("setTitleTextAppearance", "(Landroid/content/Context;I)V", "GetSetTitleTextAppearance_Landroid_content_Context_IHandler")]
public virtual void SetTitleTextAppearance (Android.Content.Context? context, int resId);
[<Android.Runtime.Register("setTitleTextAppearance", "(Landroid/content/Context;I)V", "GetSetTitleTextAppearance_Landroid_content_Context_IHandler")>]
abstract member SetTitleTextAppearance : Android.Content.Context * int -> unit
override this.SetTitleTextAppearance : 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.setTitleTextAppearance(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