This displays a popup tool tip for a specified view.
الإضافات: | Object |
الحزمة: | widget |
ToolTipPopup(String, View)
Create a new ToolTipPopup
public ToolTipPopup(String text, View anchor)
المعلمة | الوصف |
---|---|
text | The text to be displayed in the tool tip |
anchor | The view to anchor this tool tip to. |
setStyle(Style)
Sets the ToolTipPopup.Style of this tool tip.
public void setStyle(Style mStyle)
المعلمة | الوصف |
---|---|
mStyle | The style for the tool tip |
show()
Display this tool tip to the user
public void show()
setNuxDisplayTime(long)
Set the time (in milliseconds) the tool tip will be displayed. Any number less than or equal to 0 will cause the tool tip to be displayed indefinitely
public void setNuxDisplayTime(long displayTime)
المعلمة | الوصف |
---|---|
displayTime | The amount of time (in milliseconds) to display the tool tip |
dismiss()
Dismiss the tool tip
public void dismiss()
DEFAULT_POPUP_DISPLAY_TIME
public static final long DEFAULT_POPUP_DISPLAY_TIME