Closed crysan closed 6 years ago
We might add attribute support for this in the future, however, you can override any of the dimension values from FastScroll library's dimens.xml
.
For the bubble size, add <dimen name="fastscroll_bubble_radius">XXdp</dimen>
to your project's dimens.xml
.
The future is now. Add this function to the library.
After further review, the best method for adjusting the bubble dimensions is by overriding these values:
<dimen name="fastscroll_bubble_radius">44dp</dimen>
<dimen name="fastscroll_bubble_size">88dp</dimen>
<dimen name="fastscroll_bubble_textsize">48sp</dimen>
I want to have two different bubble textsize in two layouts. By overriding fastscroll_bubble_textsize it will change the textsize for whole project. Is there any way to change it programmatically?
There isn't currently, but I'm working to add this and the other bubble dimensions to the upcoming 2.0 release.
I added attributes and methods to change the bubble text size. I also added an attribute to change the bubble size to either "normal" or "small". These changes are released in 2.0.0-beta2.
Hi Pls add size bubble setting. Ty!