How to set background image of Xamarin Android

I want to put a simple image in the background project of Xamarin Android ... in my project I can see the image, but I build whem, I do not show it in my application. here as you can see, my background image calls hue.jpg and this is my xml file.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:minWidth="25px"
android:minHeight="25px"
android:background="@drawable/hue" />

So ... what am I doing wrong?

+4
source share
1 answer

Is the image resolution much higher than the screen used? If so, try lowering the resolution and try again.

+4
source

All Articles