I followed this guide to create a splash screen in my Xamarin Android app:
However my image scales to fit the full screen and distorts the image. In the example above the loading image is centered on a black background. I went through all the steps:
Something is missing ... I did some research on 9-patch images but this is not what I am looking for. A 9-patch image scales based on your rules. I want the content of the image in the center to remain unscaled with the black borders filling in the empty area.
I also did some research on layer-list and bitmap drawables. I couldn't figure out how to get the bitmap to not scale and stay a fixed size.
There is something missing in the link above, what am I missing?