1

Android: how to scale an image to fill the background of a LinearLayout without preserving aspect ratio?

view story
linux-howto

http://stackoverflow.com – I have got a LinearLayout like this: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/currentConditionsLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/blue_dark_background" > .... </LinearLayout> I want its background (the "blue_dark_background" image) to be scaled to fill this LinearLayout without preserving the aspect ratio of the "blue_dark_background" image. And I don't want the LinearLayout to be scaled to fit the size of the "blue_dark_background (HowTos)