I have:
<ImageView
android:id="@+id/logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:contentDescription="@string/logo"
android:onClick="LogoAnimate"
android:src="@drawable/logo" />
I need to change from:
android: layout_centerHorizontal = "true"
android: layout_centerVertical = "true"
to:
android: layout_alignParentBottom = "true"
android: layout_alignParentLeft = "true"
How can I implement this in the code?
Do it with
LayoutParams: