1

How to set the imageView height here

view story
linux-howto

http://stackoverflow.com – How can i set the image view height here. I want an image to be shown and the width has to fit the screen, but the height has to be automatically chosen. My code: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertica (HowTos)