Share via


Activity.TitleColor Property

Definition

Caution

deprecated

Change the color of the title associated with this activity.

public Android.Graphics.Color TitleColor { [Android.Runtime.Register("getTitleColor", "()I", "")] get; [Android.Runtime.Register("setTitleColor", "(I)V", "GetSetTitleColor_IHandler")] [System.Obsolete("deprecated")] set; }
[<get: Android.Runtime.Register("getTitleColor", "()I", "")>]
[<set: Android.Runtime.Register("setTitleColor", "(I)V", "GetSetTitleColor_IHandler")>]
[<set: System.Obsolete("deprecated")>]
member this.TitleColor : Android.Graphics.Color with get, set

Property Value

Attributes

Remarks

Change the color of the title associated with this activity.

This method is deprecated starting in API Level 11 and replaced by action bar styles. For information on styling the Action Bar, read the Action Bar developer guide.

This member is deprecated. Use action bar styles instead.

Java documentation for android.app.Activity.setTitleColor(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