Open zhang-weifu opened 7 years ago
I know the reason---the autolink property of the textview label.
is there a way to disable the autolink property for the textview? i have tried to adjust the style, but it didn't help:
<style name="ToolTipLayoutCustomStyle" parent="ToolTipLayoutDefaultStyle">
<item name="ttlm_overlayStyle">@style/ToolTipOverlayCustomStyle</item>
<item name="android:textAppearance">@style/ToolTipTextStyle</item>
<item name="android:autoLink">none</item>
</style>
<style name="ToolTipTextStyle">
<item name="android:autoLink">none</item>
</style>
<style name="ToolTipOverlayCustomStyle" parent="ToolTipOverlayDefaultStyle">
<item name="android:autoLink">none</item>
</style>
new Tooltip.Builder(101) .withStyleId(R.style.ToolTipLayoutCustomStyle)
I got same issue. Anyone got workaround
I found when set text with number, the tooltips will not show number. blow are code(the demo application ,just modify some const string) and screen shot.