IT. Expert System.

Android Reference

TextAppearanceSpan


android.text.style

Class TextAppearanceSpan

    • Constructor Detail

      • TextAppearanceSpan

        public TextAppearanceSpan(Context context,
                          int appearance)
        Uses the specified TextAppearance resource to determine the text appearance. The appearance should be, for example, android.R.style.TextAppearance_Small.
      • TextAppearanceSpan

        public TextAppearanceSpan(Context context,
                          int appearance,
                          int colorList)
        Uses the specified TextAppearance resource to determine the text appearance, and the specified text color resource to determine the color. The appearance should be, for example, android.R.style.TextAppearance_Small, and the colorList should be, for example, android.R.styleable.Theme_textColorPrimary.
      • TextAppearanceSpan

        public TextAppearanceSpan(String family,
                          int style,
                          int size,
                          ColorStateList color,
                          ColorStateList linkColor)
        Makes text be drawn with the specified typeface, size, style, and colors.
      • TextAppearanceSpan

        public TextAppearanceSpan(Parcel src)
    • Method Detail

      • describeContents

        public int describeContents()
        Description copied from interface: Parcelable
        Describe the kinds of special objects contained in this Parcelable's marshalled representation.
        Specified by:
        describeContents in interface Parcelable
        Returns:
        a bitmask indicating the set of special object types marshalled by the Parcelable.
      • getFamily

        public String getFamily()
        Returns the typeface family specified by this span, or null if it does not specify one.
      • getTextColor

        public ColorStateList getTextColor()
        Returns the text color specified by this span, or null if it does not specify one.
      • getLinkTextColor

        public ColorStateList getLinkTextColor()
        Returns the link color specified by this span, or null if it does not specify one.
      • getTextSize

        public int getTextSize()
        Returns the text size specified by this span, or -1 if it does not specify one.
      • getTextStyle

        public int getTextStyle()
        Returns the text style specified by this span, or 0 if it does not specify one.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 171 / 158860775. Delta: 0.30291 с