Things looked quite simple first but in the end the result is not good.
I have an image which has a width larger than screen\'s width. So I need to scale it down in my image
You either need to set android:height = "wrap_content" on your outer container, or set static height of TextBox and give ImageView android:weight = "1" so that the ImageView takes remaining space in container.