'Center a glide result image into a svg

Is it possible to center an image from Glide to a svg pre-loaded from the local?

I have a circle.svg in my project and I want given an url use Glide to get the image and place it "inside" the circle.svg

Example : enter image description here Or enter image description here

So I have a white circle *.svg and I get an url and with glide I get the Google/Youtube image and I want to place it in the center or an specific height/width of my circle is it possible? Or is better to create a custom view, with this circle and then place inside centered an imageview and load it there directly?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source