Я создаю свой собственный пользовательский режим поиска. Но на левой стороне предпочтительного виджета есть пустое пространство. Как я могу избавиться от него?Android: Пользовательские предпочтения удаляют нежелательные дополнения/поля?
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/widget_frame"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/seekBarPrefUnitsRight"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"></TextView>
<TextView
android:id="@+id/seekBarPrefValue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/seekBarPrefUnitsRight"
android:gravity="right"></TextView>
<TextView
android:id="@+id/seekBarPrefUnitsLeft"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/seekBarPrefValue"></TextView>
<LinearLayout
android:id="@+id/seekBarPrefBarContainer"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/seekBarPrefUnitsRight"
android:orientation="horizontal">
<SeekBar
android:id="@+id/seekBarPrefSeekBar"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</RelativeLayout>
Я выделяю желтое нежелательное пространство.