I got a task to implement underline divider (design screenshot). I have tried to use np_selectedTextUnderline attribute but it doesn't work correctly because it underlines selected text, not cell (problem demonstration).
Solution
There is a new np_dividerType attribute to use. Now NumberPicker supports two types of dividers: side lines (default) and underline, packed in DividerType enum so we can add new types easily. That's what I've got (result demonstration).
@ShawnLin013, thanks a lot for your work. You saved my time. I hope this feature will improve your project and engage new developers.
Problem
I got a task to implement underline divider (design screenshot). I have tried to use
np_selectedTextUnderline
attribute but it doesn't work correctly because it underlines selected text, not cell (problem demonstration).Solution
There is a new
np_dividerType
attribute to use. NowNumberPicker
supports two types of dividers: side lines (default) and underline, packed inDividerType
enum so we can add new types easily. That's what I've got (result demonstration).@ShawnLin013, thanks a lot for your work. You saved my time. I hope this feature will improve your project and engage new developers.