I try create a custom seekbar like this : https://i.stack.imgur.com/8B0Q8.png
But i encountered problem this problems : https://i.stack.imgur.com/rcQG7.png
I use this project for dynamically change text : github.com/Amit-Gupta26/AndroidCustomSeekBar
My layout code is here:
<RelativeLayout
android:id="@+id/layout_seekbar"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/seekbar_bg" >
<SeekBar
android:id="@+id/seekbar"
style="@style/CustomSeekBar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="false"
android:layout_alignParentTop="false"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true" />
I try many different methods. But i couldnt achieve stability on all screens. How can do this ?