Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

How do you use the Picker control?

EasyGoingPatEasyGoingPat GBMember ✭✭✭✭

Sorry for the general nature of this question, but I would struggle to be more specific, because I have tried so many alternative ways of using the Picker and I just cannot find any way to get it to render on iOS, Android and Windows Phone. I have something that looks passable on iOS, but on Android and Windows Phone, it is a complete mess. Check out the example rendering on iOS and Android in the attached files. You can see that iOS looks absolutely fine, but the same code on Android is a disaster.

Has anyone managed to use this control successfully across more than one platform?

Kind wishes ~ Patrick

Best Answer

Answers

  • LucyLu.6013LucyLu.6013 USMember ✭✭✭

    can u check it on real Mobile device rather than Emulater.

  • EasyGoingPatEasyGoingPat GBMember ✭✭✭✭

    Hi, @LucyLu.6013,

    So far, I have tried on a real iPhone5 and simulators for iPhone, Android (various) and Windows Phone (various). The iPhoneSimulator and the real iPhone are both fine. All the simulators for Windows Phone and Android render badly.

    I am in the process of trying to deploy the application to a physical LG Spirit LTE (Android Version 5.0.1), but so far I can't get Xamarin Visual Studio 2015 to see it as a debug device. Any ideas how you get it to appear in the selection box at the top of Visual Studio?

    Kind wishes ~ Patrick

  • NMackayNMackay GBInsider, University admin
    edited May 2016

    @EasyGoingPat

    You probably need the USB developer device drivers for that device, also you need to enable developer options and USB debugging, then restart Visual Studio and hopefully your device will appear in the dropdown list.

    http://www.howtogeek.com/129728/how-to-access-the-developer-options-menu-and-enable-usb-debugging-on-android-4.2/
    http://www.androidcentral.com/android-50-lollipop-basics-how-turn-developer-settings

    If you've already done this then ignore this reply.

Sign In or Register to comment.