VS 2017 中的 Xamarin 加速:无法从工具箱中拖动按钮
Xamarin in VS 2017 ramp up: cant drag a button from toolbox
起初我有与 NuGet 包相关的错误,现在我的系统稳定了,或者至少我没有看到错误显示。
问题:当我select(例如按钮)从工具箱到activity_main.axml的布局时,系统不让我放下,显示"no entry"标志.
知道我错过了什么吗?
enter image description here
请将您的 RelativeLayout
更改为 LinearLayout
,并将 android:orientation="vertical"
添加到 activityMain.axml
您可以像这个 gif 那样将按钮拖到您的布局中。
起初我有与 NuGet 包相关的错误,现在我的系统稳定了,或者至少我没有看到错误显示。
问题:当我select(例如按钮)从工具箱到activity_main.axml的布局时,系统不让我放下,显示"no entry"标志.
enter image description here
请将您的 RelativeLayout
更改为 LinearLayout
,并将 android:orientation="vertical"
添加到 activityMain.axml
您可以像这个 gif 那样将按钮拖到您的布局中。