1

android : imageview fix height auto resize width

view story
linux-howto

http://stackoverflow.com – I have an image, for example it's height is 50dp. i want resize it's height to 100dp and auto resize width (width should become x*2 ) i try many variants of android:scaleType and android:adjustViewBounds <ImageView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/image" android:layout_width="wrap_content" android:layout_height="100dp" android:layout_gravity="center" android:layout_weight="1" android:adjustViewBounds="true" android:src="@drawable/app_logo" android:scaleType="fitCenter" /> but i can't get need result (HowTos)