Constraint layout in Visual studio mac

what is the recommended approach to using constraint layourts in xamarin android. I downloaded the nuget package and gave it a try, but the designer did not render the constraint layout . can we still use it today by loading the .axm in android studio?

Posts

  • mikeacostamikeacosta USUniversity ✭✭✭

    Several months later, but...

    @sreemenon said:
    what is the recommended approach to using constraint layourts in xamarin android.

    Use Android Studio.

    Sadly, VS Mac is useless with ConstraintLayout. VS 2017 on Windows isn't any better. ConstraintLayout shows up in the toolbox under Supported libraries, and you can drag it onto the designer, but that's where it ends, apparently. Unless I'm missing something, I can't drag any views onto a constraint layout. It doesn't look like the IDE has the Attributes pane and view inspector features of AS, anyway.

    Android Studio doesn't know what an .axml file is, so you need to rename layouts to .xml to use the AS designer.

Sign In or Register to comment.