Set specific font for Xamarin Android and iOS app - visual-studio

Building apps in VS 2015 Xamarin and wondering if and how I can set the font to Segoe? I looked at font family in the designer, but not sure how that works exactly. Could someone point me in the right direction? Is this pretty direct? Can you use custom fonts?
Thanks much.

Related

Common solution for Xamarin.UWP and Xamarin.Mac

I have a quick question, it would be great if anyone can clear it out. I wanted to develop a cross-platform application for Window OS and Mac OS.
I search it out a lot and found that we can create Window app with UWP and Mac OS app with the help of Xamarin.Mac but in that case, we are having a different solution for both Windows and Mac platform. We need a common solution for both the platform.
I will really appreciate if anyone can clarify how we need to proceed with the Cross-Platform development of Windows and Mac.
The idea with xamarin is to separate UI and non UI code. You can share the non UI code between the UWP and Xamarin.Mac
Another approach is to use Xamarin.Forms which abstracts the UI code to be cross platform. The Xamarin.Forms implementation for Xamarin.Mac is stil in preview though

Difference between UWP and Xamarin's UWP?

I was trying to learn basics of xamarin. I came across Adding a Universal Windows Platform (UWP) App and I was trying to figure out advantages of using it over normal UWA with PCL or Shared projects. Is it different from UWP, or does it offers more support from portability?
Xamarin Forms helps dev code once and deploy on cross-platforms.
For front end, there are bit different when you code UWP and Xamarin Forms. stackpanel and stacklayout these kind of UI element. MS is working on XAML standard 1.0 so in future we only have one XAML need to remember.
If you are working on windows 10 app, highly recommended using UWP. There are more docs you can read.
Lot of people using Xamarin Forms to create Android iOS cross-platform apps, and devs lost interesting in support xamarin forms plugins for UWP.
does it offers more support from portability
Yes, or rather I should say that portability is the only practical reason you want to use Xamarin (aside from you being familiar with the platform and not wanting to learn something new, but this seems not to be the case).
Is it different from UWP
As far as I know, Xamarin's UWP is just a UWP project included inside a Xamarin project, so it's basically the same thing.
The answer is: NO
No performance issues
No developing issues
Everything was converted down to the same assembly and run as you expected
However, if you just do mainly in UWP. I suggest not doing it on Xamarin, because the support of new toys come a little bit slower on Xamarin. Right now the communities are waiting for XamlUI Alpha

Xamarin Cross Platform disable IOS

I'm new to Xamarin.
My goal is to develop an app for both Android and Windows phone platforms, without IOS. I dont have any mac to test.
Under the properties solution, I already tried to remove IOS from the targets platform, but doesn't allow me. It's mentioned that its
Thats the solution i tried withou sucess:
Remove ios, windows8, and wp8 from Xamarin Forms PCL - nuget 3.0 opt-into error?
Please help.
It doesn't really matter! It doesn't mean you are actually stuck with iOS in any way.
The only thing it means is that the set you have selected is also compatible with the libraries in Xamarin.iOS. So it means that you could create an iOS project without too much trouble if you would want to in the future.
If you do not create an iOS project, you won't get an iOS app.

Why are all my iOS UI elements larger after migrating from Xamarin Studio to Visual Studio?

I migrated a project from Xamarin Studio to Visual Studio Community after Xamarin went free, and somehow my user interface elements are now all scaled up. This includes my graphics as well as the UI elements such as navigation bars and tabbed bars from Xamarin.Forms. What gives?
It sounds like the app is running in "4-inch mode" where it will scale everything up to the Retina HD resolution of the 4.7" iPhone.
If you are using launch images, then make sure you have defined one for the 4.7" size. Additionally, make sure they are defined in an asset catalogue - defining them in Info.plist is deprecated.
I would suggest migrating to a launch screen however, as this is the preferred way to manage this since iOS 9.
More information about launch images and launch screens can be found here.

iWebKit Framework windows phone topbar trasparent

Hello I've an App made with iwebkit framework 5,04 that work good with IOS and Android. The problem is that with Visual Studio when I try the App with the simulator the topbar is trasparent, that an error because with the same code in IOS and Android is Black.
Any idea ?
Paolo
iwebkit is built for the webkit rendering engine whereas visual studio probably uses trident which does not display the gradient top bar. It is made using a webkit specific property.
It is certainly possible to add the right css properties for it to work with IE, but you should code in VS but test in chrome/safari for it to show up right.

Resources