ImageView: adjustViewBounds does not work with layout_height=“fill_parent”?
I'm trying to place in single row the EditText with the ImageView on the left. But I can't get the image to be scaled properly to match the height of text entry. The layout is simple: <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> <ImageView android:id="@+id/icon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:adjustViewBounds="true" android:scaleType="fitStart" android:background="#f00" android:src="@drawable/icon" /> <EditText android:id="@+id/text" android:layout_width="fill_parent"