public class BackgroundColorSpan extends CharacterStyle implements UpdateAppearance, ParcelableSpan
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
BackgroundColorSpan(int color) |
BackgroundColorSpan(Parcel src) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getBackgroundColor() |
int |
getSpanTypeId() |
void |
updateDrawState(TextPaint ds) |
void |
writeToParcel(Parcel dest,
int flags) |
getUnderlying, wrappublic BackgroundColorSpan(int color)
public BackgroundColorSpan(Parcel src)
public int getSpanTypeId()
getSpanTypeId in interface ParcelableSpanpublic int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelablepublic int getBackgroundColor()
public void updateDrawState(TextPaint ds)
updateDrawState in class CharacterStyleCopyright © 2008-2013. All Rights Reserved.