Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size! #2

Closed
crysan opened this issue Oct 24, 2016 · 6 comments
Closed

Size! #2

crysan opened this issue Oct 24, 2016 · 6 comments

Comments

@crysan
Copy link

crysan commented Oct 24, 2016

Hi
Pls add size bubble setting.
Ty!

@randr0id
Copy link
Member

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.

@crysan
Copy link
Author

crysan commented Oct 27, 2016

The future is now.
Add this function to the library.

@brettmcginnis brettmcginnis added this to the FUTURE milestone Oct 27, 2016
@randr0id
Copy link
Member

randr0id commented Jun 8, 2017

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>

@randr0id randr0id closed this as completed Jun 8, 2017
@randr0id randr0id removed this from the FUTURE milestone Jun 8, 2017
@NainalChauhan
Copy link

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?

@randr0id
Copy link
Member

There isn't currently, but I'm working to add this and the other bubble dimensions to the upcoming 2.0 release.

@randr0id randr0id reopened this Sep 12, 2018
@randr0id
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants