I want to to have the height of an ImageView equal to it's width. I already read something about using "app:..." in activity.xml. But, it says that it couldn't find the namespace. After that, I just found a code which didn't worked for me.
Does anybody has ideas or suggestions to fix this issue? If it has to be done programmatically and it would be good if has an example for this using Kotlin.