Xamarin Previewer uses which API to render the view?

kakeskakes USMember ✭✭

Which API level or emulator installed on the machine is used for rendering the view on Xamarin Forms Previewer for Android? I have multiple API level emulators installed, the problem is that the emulator shows one thing, for eg: Frame with rounded corner renders perfect on the emulator, but when the same is run on the device it appears different?

It seems Xamarin picks a certain emulator based upon its internal decision. I need to understand how it picks and can the Previewer be told to use a certain API level emulator.

I guess same holds true for iOS Xamarin Forms previewer as well.


  • kentuckerkentucker USMember ✭✭✭✭✭

    could you use the Xamarin live player? This would allow you to see what it looks like on the device


  • kakeskakes USMember ✭✭

    @kentucker Thanks for your response. The live player is another pain point. Its been a long time since Xamarin has been touting its live player but I am yet to make it work despite numerous tries. So the short answer is No I can't.

    But also I was wondering how live player decides to use which device with which API level to use for previewer and whether there is a way to instruct it a chosen API level?

  • kentuckerkentucker USMember ✭✭✭✭✭

    @kakes your right the live player is not perfect. It seams work with shared projects better

  • WasserEsserWasserEsser Member ✭✭

    I can highly recommend LiveXAML.
    It's a great tool for quickly designing the user interface.


Sign In or Register to comment.