See the logcat below. While scrolling in the sample app within the range of 10 -99 the popup size (bgWidth) jumps between 328 - 332 px. This causes the popup to slightly flicker and lock restless.
I have some ideas how to address this. The easiest way would be to add some rounding, but is not 100% reliable. Other ways I try is to get the max width of the used typeface or to force monospace text drawing. Will add a PR as soon as I found a solid solution.
See the logcat below. While scrolling in the sample app within the range of 10 -99 the popup size (bgWidth) jumps between 328 - 332 px. This causes the popup to slightly flicker and lock restless.
I have some ideas how to address this. The easiest way would be to add some rounding, but is not 100% reliable. Other ways I try is to get the max width of the used typeface or to force monospace text drawing. Will add a PR as soon as I found a solid solution.