INPUT_METHOD_FROM_FOCUSABLE, INPUT_METHOD_NEEDED, INPUT_METHOD_NOT_NEEDEDDEFAULT_DISTANCE, DEFAULT_DURATION, DEFAULT_FROM_ALPHA, DEFAULT_FROM_Y_DELTA, DEFAULT_TEXT, DEFAULT_TEXT_COLOR, DEFAULT_TEXT_SIZE, DEFAULT_TO_ALPHA, DEFAULT_TO_Y_DELTA| Constructor and Description |
|---|
GoodView(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
reset()
重置属性
|
IGoodView |
setAlpha(float fromAlpha,
float toAlpha)
设置透明度属性
|
IGoodView |
setDistance(int dis)
设置移动距离
|
IGoodView |
setDuration(int duration)
设置动画时长
|
IGoodView |
setImageDrawable(android.graphics.drawable.Drawable drawable)
设置图片
|
IGoodView |
setImageResource(int resId)
设置图片
|
IGoodView |
setText(java.lang.String text)
设置文本
|
IGoodView |
setTextColor(int color)
设置文本颜色
|
IGoodView |
setTextInfo(java.lang.String text,
int textColor,
int textSize)
设置文本信息
|
IGoodView |
setTextSize(int textSize)
设置文本大小
|
IGoodView |
setTranslateY(int fromY,
int toY)
设置Y轴移动属性
|
void |
show(android.view.View v)
展示
|
dismiss, getAnimationStyle, getBackground, getContentView, getElevation, getEnterTransition, getEpicenterBounds, getExitTransition, getHeight, getInputMethodMode, getMaxAvailableHeight, getMaxAvailableHeight, getMaxAvailableHeight, getOverlapAnchor, getSoftInputMode, getWidth, getWindowLayoutType, isAboveAnchor, isAttachedInDecor, isClippedToScreen, isClippingEnabled, isFocusable, isLaidOutInScreen, isOutsideTouchable, isShowing, isSplitTouchEnabled, isTouchable, isTouchModal, setAnimationStyle, setAttachedInDecor, setBackgroundDrawable, setClippingEnabled, setContentView, setElevation, setEnterTransition, setEpicenterBounds, setExitTransition, setFocusable, setHeight, setIgnoreCheekPress, setInputMethodMode, setIsClippedToScreen, setIsLaidOutInScreen, setOnDismissListener, setOutsideTouchable, setOverlapAnchor, setSoftInputMode, setSplitTouchEnabled, setTouchable, setTouchInterceptor, setTouchModal, setWidth, setWindowLayoutMode, setWindowLayoutType, showAsDropDown, showAsDropDown, showAsDropDown, showAtLocation, update, update, update, update, update, updatepublic IGoodView setText(java.lang.String text)
public IGoodView setTextColor(int color)
setTextColor in interface IGoodViewcolor - public IGoodView setTextSize(int textSize)
setTextSize in interface IGoodViewtextSize - public IGoodView setTextInfo(java.lang.String text, int textColor, int textSize)
setTextInfo in interface IGoodViewtext - textColor - textSize - public IGoodView setImageResource(int resId)
setImageResource in interface IGoodViewresId - public IGoodView setImageDrawable(android.graphics.drawable.Drawable drawable)
setImageDrawable in interface IGoodViewdrawable - public IGoodView setDistance(int dis)
setDistance in interface IGoodViewdis - public IGoodView setTranslateY(int fromY, int toY)
setTranslateY in interface IGoodViewfromY - toY - public IGoodView setAlpha(float fromAlpha, float toAlpha)
public IGoodView setDuration(int duration)
setDuration in interface IGoodViewduration -