I need to change a image widthoriginal image like the first line below:
but when I change the width it keeps the ratio resize the original imageI need to do something like the third imagecan change the width and don't modify original imageHow can I do this through Java or XML in android?xml code:\[code\]<ImageView android:id="@+id/fill" android:layout_width="150dp" android:layout_height="32dp" android:layout_alignLeft="@+id/BGfill" android:layout_centerVertical="true"/>\[/code\]