public class BlackToastStyle extends java.lang.Object implements IToastStyle<android.widget.TextView>
| Constructor and Description |
|---|
BlackToastStyle() |
| Modifier and Type | Method and Description |
|---|---|
android.widget.TextView |
createView(android.content.Context context)
创建 Toast 视图
|
protected android.graphics.drawable.Drawable |
getBackgroundDrawable(android.content.Context context) |
protected int |
getHorizontalPadding(android.content.Context context) |
protected int |
getMaxLines(android.content.Context context) |
protected int |
getTextColor(android.content.Context context) |
protected int |
getTextGravity(android.content.Context context) |
protected float |
getTextSize(android.content.Context context) |
protected float |
getTranslationZ(android.content.Context context) |
protected int |
getVerticalPadding(android.content.Context context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGravity, getHorizontalMargin, getVerticalMargin, getXOffset, getYOffsetpublic android.widget.TextView createView(android.content.Context context)
IToastStylecreateView in interface IToastStyle<android.widget.TextView>protected int getTextGravity(android.content.Context context)
protected int getTextColor(android.content.Context context)
protected float getTextSize(android.content.Context context)
protected int getHorizontalPadding(android.content.Context context)
protected int getVerticalPadding(android.content.Context context)
protected android.graphics.drawable.Drawable getBackgroundDrawable(android.content.Context context)
protected float getTranslationZ(android.content.Context context)
protected int getMaxLines(android.content.Context context)