Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Stretched image on Android splash screen

$
0
0

Hi - I have an Android Xamarin application with a splash screen with app logo on open. I used the splash tutorial here in examples to implement the future. My app logo is appears stretched on open.

I've looked at many settings/attributes and for the life of me - can't figure out how to display the logo in its native resolution. Below is a snapshot of the stretched logo.

https://www.dropbox.com/s/bv66pmb1jup5gpf/WeatherScenic-Splash.png

And my code:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:p1="http://schemas.android.com/apk/res/android"
    p1:id="@+id/relativeLayout1"
    p1:orientation="vertical"
    p1:layout_width="fill_parent"
    p1:layout_height="fill_parent"
    p1:minWidth="25px"
    p1:minHeight="25px">
    <ImageView
        p1:id="@+id/imageView1"
        p1:layout_width="fill_parent"
        p1:layout_height="wrap_content"
        p1:src="@drawable/splash"
        p1:gravity="center" />
</LinearLayout>

Any ideas on what I'm doing wrong here?

Thanks,

Jason


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>