I don't know how to get an image to fill the screen, have tried everything, maybe there is some particular layout I should be using..?
I'm using an ImageView, however this just fills about 70% of the screen, leaving blank space at the bottom...
At the moment i'm just using a LinearLayout and setting its background to my image. While this fills the screen, the image is slightly streched, which I don't want.
Any help would be greatly appreciated! :)
The code inside the ImageView tags of my layout file are:
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:adjustViewBounds="true"
android:src="@drawable/image"
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…