Просмотр текста через панель поиска Android

Я хочу сделать TextView над панелью поиска и столкнуться с ним, когда я меняю значение, но не добиваюсь успеха. Когда я нахожусь в значении = 0, это правильно, но когда я меняю значение, это неправильно. Благодарю. /////////////////////.............................. ....

 float val = (progress * (seekBar.getWidth() - 2 * seekBar.getThumbOffset())) / seekBar.getMax();
        result.setX((float)seekBar.getX() + val + seekBar.getThumbOffset() /2-seekBar.getThumbOffset());

 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="0dp"
android:orientation="vertical">
    <TextView
    android:id="@+id/tvResult"
    android:layout_width="65dp"
    android:layout_height="65dp"
    android:paddingTop="20dp"
    android:gravity="center"
    android:background="@drawable/bg_metter_note_retailer"
    android:text="0"  />
<SeekBar
    android:id="@+id/sbBar"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/bg_metter_retailer"
    android:indeterminateBehavior="repeat"
    android:max="1500"
    android:progress="300"
    android:thumb="@drawable/bg_metter_retailer_tap"
    android:progressDrawable="@drawable/spacer" />
<RelativeLayout
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:paddingTop="50dp"
    android:layout_gravity="center"
    android:orientation="horizontal" >

    <TextView
        android:id="@+id/tvLabel1"
        android:paddingLeft="10dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="0" />
    <TextView
        android:id="@+id/tvLabel2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:text="750" />
    <TextView
        android:id="@+id/tvLabel3"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentRight="true"
        android:paddingRight="10dp"
        android:text="1500" />
</RelativeLayout>


person user1857193    schedule 21.07.2014    source источник
comment
возможный дубликат SeekBar — отображение прогресса с TextView выше   -  person The Holy Coder    schedule 21.07.2014
comment
Это умение не работает гладко. TextView и большой палец панели поиска не сопоставляются вместе   -  person user1857193    schedule 21.07.2014