turing-tech / MaterialScrollBar

An Android library that brings the Material Design 5.1 sidebar to pre-5.1 devices.
Apache License 2.0
781 stars 126 forks source link

"msb_barThickness" not working as expected with DragScrollBar #122

Open DarkMinstrel opened 5 years ago

DarkMinstrel commented 5 years ago

I can clearly see in your code that initially the thumb is 18 dp wide, while the track is 14 dp wide. Setting custom width using "msb_barThickness" attribute makes them both equally wide, which messes up the view, especially in "touched" mode. At some point the track becomes thicker than the thumb, and it looks awful. Why not keep proportion?

OunmanNgampeerapong commented 5 years ago

Ok