Я попытался изменить ширину панели поиска и сделал ее тонкой.Но мой большой палец не входит в центр панели поиска.Thumb - это индивидуальное изображение с 9 патчами.
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/relLayout" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" > <SeekBar android:paddingLeft="60dp" android:progressDrawable="@drawable/seekbar_progress" android:progress="0" android:layout_height="20dp" android:layout_width="fill_parent" android:id="@+id/frequency_slider" android:max="1" android:paddingRight="60dp" android:minWidth="60dp" android:minHeight="60dp" android:layout_alignParentRight="true" android:thumb="@drawable/seek_normal_thumb" > </SeekBar> </RelativeLayout> <WebView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/webkit" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/relLayout" android:layout_alignParentTop="true" /> </RelativeLayout>
Я правильно понял, определив minHeight и maxHeight для панели поиска
После определения атрибута с большим значением maxHeight:
android:maxHeight="1000dp"
SeekBar будет отрегулирован по центру