In my main activity there is a RelativeLayout that has 2 childs:
ImageView which serves as the backgroundLinearLa
To change the mode to “resize” at the following statement to your activity in “AndroidManifest.xml”.
and please remove the complexity of LinearLayout ( means you are using multiple level of LinearLayout ) instead of that you can use RelativeLayout also .. using this you can easily set Layout as you want .. try it that also hope your problem may rectifier
I hope this helps.