What is the best solution for auto height in Android apps?
I have an image which is a set size and is necessary for the app. When I set the height and width to fill_parent
, it puts the image half way up the screen.
When I change the height to wrap_content
it goes down to the size of the image which is no good for scaling on devices.
Is it possible to have a height:auto
as if it were CSS, or alternatively set the margin_top
to be negative value (screenSize / 50%)