我的问题如下,我正在Xamarin为Android,IOS和UWP做一个项目。 目前众所周知,这些系统具有不同类型的屏幕,因此在将背景图像加载到ContentPage时,它应该在项目资源文件夹中采用不同的度量。
我有以下内容:
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:AppFalcon"
x:Class="AppFalcon.MainPage"
BackgroundImage="Background.jpg">
</ContentPage>
我想知道所有项目的大小,因为在Android中,背景图像效果很好,但在IOS中,图像只有一半。
非常感谢你。