Hi!
I have a question about SDI in regards to both Android and iOS.
I have a Xamarin.Forms project with iOS and Android subprojects in them, however none of the platforms seem to respect SDI rules.
By that I mean I would like to the proportions of icons and images remain the same in relation to screen size of the device the app is running on.
Instead it seems Xamarin does everything to keep the icons sized equally so that when I look at the app on a device and a tablet the icons are the same if I measured them with a ruler.
On Android I am using Nexus 5 and Nexus 7 for comparison - the resource don't even scale, not mentioning using different resource resolutions (I am supplying hdpi, xhdpi & xxhdpi resource resolutions from google material design repository).
On iOS I have created the resources using this icon generator from the Android's icons above.
I am testing with iOS 4 emulator and iPad 2 emulator.
In both cases the tablet/iPad displays my app with very small icons / images.
Seems none of the platforms respect SDI with my project though I have followed the tips from xamarin android resource tips page
& how to work with images in Xamarin.Forms page including using FileImageSource with build action AndroidResource / BundleResource such as
new FileImageSource () { File = "ic_pause_circle_outline_white_48dp" };
I am also having a similar issue but with fonts.
I use for example Device.GetNamedSize (NamedSize.Medium, typeof(Label));
but for tablets / iPad the font doesn't get properly enlarged.
Is this is how it ought to be ?
Thanks for explanation,
regards,
Pawel