【问题标题】:Xamarin Visual Studio Android Designer wont DisplayXamarin Visual Studio Android Designer 不会显示
【发布时间】:2023-03-14 16:09:02
【问题描述】:

我第一次尝试做一些 Android C# 应用程序开发。我为 VS2015 安装了 Xamarin,我能够创建、构建和启动 Android Xamarin 项目。唯一的问题是当我添加 Android 布局时,我可以看到 .axml 源代码,但看不到设计视图。无论我点击多少次,它都会保持源视图打开。这是相当混乱和恶化的,因为没有显示错误或警告。任何帮助将不胜感激。

这是我尝试大量单击“设计器”选项卡的 GIF:

【问题讨论】:

    标签: c# android xamarin


    【解决方案1】:

    解决了。我改为在布局文件夹中打开 main.axml,它允许它在一些文件中加载几秒钟并展示给设计者。

    【讨论】:

      【解决方案2】:
      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

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2019-06-14
        • 1970-01-01
        • 2017-10-28
        • 2023-02-06
        • 1970-01-01
        • 1970-01-01
        • 2020-12-27
        • 1970-01-01
        相关资源
        最近更新 更多