Let's say I had a Seekbar object called sb1 and had to set the max of its range. setMax takes in an int value. Is there a way to set the max and min of the range of the Seekbar using a DP value instead of an int? How can I do that?
sb1.setMax(100);