I made a linear layout with a background image, png ... I don’t know how to show it in the layout (and in the center), keeping the proportions ... here is the code
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/background">
Obviously the image has the same height and width of the display ... Any help? thanks in advance
=. 4.S. =
source share