public class PopupIndicator
extends java.lang.Object
PopupWindow
This will attach a View to the Window (full-width, measured-height, positioned just under the
thumb)showIndicator(View, Rect),
dismiss(),
dismissComplete(),
Floater| 构造器和说明 |
|---|
PopupIndicator(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
java.lang.String maxValue,
int thumbSize,
int separation) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
dismiss()
This will start the closing animation of the Marker and call onClosingComplete when finished
|
void |
dismissComplete()
FORCE the popup window to be removed.
|
boolean |
isShowing() |
void |
move(int x) |
void |
setColors(int startColor,
int endColor) |
void |
setListener(MarkerDrawable.MarkerAnimationListener listener) |
void |
setValue(java.lang.CharSequence value) |
void |
showIndicator(android.view.View parent,
android.graphics.Rect touchBounds) |
void |
updateSizes(java.lang.String maxValue) |
public PopupIndicator(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
java.lang.String maxValue,
int thumbSize,
int separation)
public void updateSizes(java.lang.String maxValue)
public void setListener(MarkerDrawable.MarkerAnimationListener listener)
public void setValue(java.lang.CharSequence value)
public boolean isShowing()
public void showIndicator(android.view.View parent,
android.graphics.Rect touchBounds)
public void move(int x)
public void setColors(int startColor,
int endColor)
public void dismiss()
public void dismissComplete()