Hello, I need to change the size of a ImageView
through class.java and I'm not sure what the command is.
Follow my code
xml
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/imageViewVermelho"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" />
class.java
iv_vermelho = (ImageView) findViewById(R.id.imageViewVermelho);
I need to size the image here
ex: if it were to do in xml it would be like this
android:layout_width="104dp"
android:layout_height="104dp"