I made a linear layout with a background image, a png… I don’t know how to show it into the layout ( and centered ) keeping 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 image has the same height and width of the display… Any help?? Thanks in advance
=.4.S.=
Try this related question/answer:
Android: Scale a Drawable or background image?
I haven’t tried it, but it sounds similar to what you’re talking about.