user3796130
user3796130

Reputation:

How to set background image Xamarin Android

I want to put a simple image in background project Xamarin Android... in my project i can see the image,but whem i build, dont show in my App.. here as you can see,my background image call 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 i'm doing wrong?

Upvotes: 6

Views: 10104

Answers (1)

Milen
Milen

Reputation: 8867

Is the resolution of the image a lot higher than the screen used? If so try scaling down the resolution and try again.

Upvotes: 4

Related Questions