reddit/IndicatorFastScroll

Horizontal layout

Closed this issue · 2 comments

Hello,

So I was trying to solve an open issue on my app where the user asked to add land layout support.
Anyway, during the development I noticed that Indicator Fast Scroll gets cut as vertical space is reduced.
Do you think it is possible to have horizontal indicator or it is just a bad design choice?
Any idea on how to solve this problem ? (Note: the source code for these changes is still not available, but I can share layout here if needed).
Thanks anyway.

Screenshot_20191226-174506

Adding support for a horizontal layout should be doable, but I'm not sure it would be very nice to use.
Some ideas:

  • Use showIndicator to reduce the amount of letters show (example)
  • Reduce the text size
  • Set a lower scaleX/scaleY

You are right. I tried, just out of curiosity, to quickly fakea horizontal scroller with a RecyclerView. It doesn't look so good and usability also is affected.

I tried Your solution (showIndicator + scale) and it is ok now. You can close this issue. Thanks for the quick reply/help !! :)