Hi guys! I am totally newbie about Xamarin. Yesterday was my first contact using Visual Studio + Xamarin
I have some doubts.
When you create an new project in visual studio , you get a project for each platform (Android/ Windows Phone/ IOS / ..)
If i want to build an app only for Android , can i delete other projects?
Looking for Windows Phone, we have xaml files and we can drag and drop controls like : buttons
For Android is the same thing with AXML? There's a way to drag and drop for Android project?
I must to edit one Layout file for each platform?
In advance , thanks And sorry if is not the correct forum to ask this question.
If you are looking to work in Android, without using the cross platform ui framework Xamarin Forms, then you do not need the other projects.
There is a Forum specifically for Xamarin Android that will be able to help with Android specific issues.
As for a visual editor, usually on Android I don't recommend it, as the editor seems to always use weird margins and paddings instead of the layout relations I would choose. I found I mostly edited the AXML by hand.
But if you want to use one, and Xamarin hasn't provided one yet (disclaimer: I haven't looked at AXML in a while), you could always download Android Studio, the native editor. It provides the ability to edit those files, and the same code usually works for the C# applications.
Answers
If you are looking to work in Android, without using the cross platform ui framework Xamarin Forms, then you do not need the other projects.
There is a Forum specifically for Xamarin Android that will be able to help with Android specific issues.
As for a visual editor, usually on Android I don't recommend it, as the editor seems to always use weird margins and paddings instead of the layout relations I would choose. I found I mostly edited the AXML by hand.
But if you want to use one, and Xamarin hasn't provided one yet (disclaimer: I haven't looked at AXML in a while), you could always download Android Studio, the native editor. It provides the ability to edit those files, and the same code usually works for the C# applications.
Thank you so much!