简体   繁体   中英

Xamarin Visual Studio Android Designer wont Display

I'm trying to do some Android C# app development for the first time. Iv installed Xamarin for VS2015 and I'm able to create, build, and start an Android Xamarin Project. The only problem is when I add an Android Layout, I can see the .axml source, but not the design view. No matter how many times I click on it, it keeps the source view open. This is quite confusing and aggravating as there are no errors or warnings being displayed. Any help would be greatly appreciated.

Here is a GIF of me trying to click on the Designer tab profusely: VS2015Xamarin故障

Solved. I instead opened main.axml in the layout folder which allowed it to load in some files for a few seconds and showed the designer.

In your Solution Explorer, right click on an axml file and select "Open With". As one of the options, you should see "Android Designer". Open it with that. In addition, you can reset it as the Default by clicking the "Set As Default" button.

下方的asp链接: https//forums.xamarin.com/discussion/5233/visual-studio-plugin-cant-switch-between-source-design-anymore

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM