У меня есть этот макет:
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/stat_brightness_off"
android:layout_toLeftOf="@id/brightnessSeekBar" />
<SeekBar
android:id="@+id/brightnessSeekBar"
android:layout_width="wrap_content"
android:layout_centerHorizontal="true"
android:layout_height="wrap_content" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/brightnessSeekBar"
android:src="@drawable/stat_brightness_on" />
</RelativeLayout>
Мне нужно SeekBar
заполнить все горизонтальное пространство, не используемое ImageView
(они около 64 * 64 px). Что мне делать?