sven b
sven b

Reputation: 55

Anchor image to position and stop re-scaling. Kotlin, Android Studio

I designed two separate images "background" and "circle". They fit almost perfectly into each other.(See image below). After displaying them in android studio using kotlin their dimensions (Android Studio Design Window) and position (On the actual phone screen) are somehow altered and they dont fit into each other anymore.

enter image description here

Please, how can I stop this?

myCode and images:

https://gist.github.com/svenbioinf/1fc1e81f5f3325e266b139b7e7f9d603

https://i.ibb.co/mBFvS5f/circle.png

https://i.ibb.co/DLqyq09/background.png

Upvotes: 0

Views: 51

Answers (0)

Related Questions