Android Question Seekbar

red30

Well-Known Member
Licensed User
Longtime User
If i m increasing the hight of a Seekbar, a slider and a line are sprawling from each other. How to fix it?
How to change the background of the line?
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
To stop the slider handle being offset from the line, use this code:
B4X:
Private r as Reflector

r.Target = [SeekBar]
r.SetField("mMaxHeight", 1000dip, "java.lang.int")

Not sure about changing the background of the line. Maybe use a Drawable on the SeekBar.Background?

- Colin.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…