如何设置背景图片Xamarin的Android
问题描述:
我想提出的背景项目Xamarin的Android ...一个简单的形象在我的项目,我可以看到图像,但我whem建立,不显示在我的应用程序..
你可以看到,我的背景图像调用hue.jpg,这是我的XML文件。
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.. 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?
答
时使用的图像比屏幕高出很多的分辨率是多少?如果是这样的尝试缩小分辨率后再试。
Is the resolution of the image a lot higher than the screen used? If so try scaling down the resolution and try again.