xamarin 报错: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.’
activity引用的主题中添加以下代码即可
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>