How do I enable Intellisense in Android .axml files?

PDF for offline use

Let us know how you feel about this

Translation Quality


0/250

Android Intellisense in Visual Studio needs two XML Schema files to work appropriately. To find these files, go to this folder:

C:\Program Files (x86)\Xamarin Studio\AddIns\MonoDevelop.MonoDroid\schemas*

*(Previously: C:\Program Files (x86)\MSBuild\Xamarin\Android)

Inside you will find two .xsd files:

  1. android-layout-xml.xsd
  2. schemas.android.com.apk.res.android.xsd

Visual Studio keeps all of the XML Schemas inside the respective folder:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Xml\Schemas

You can choose to move these two .xsd files to the location above, or simply just add these schemas within Visual Studio. You can then "Add" these schemas inside Visual Studio via the XML > Schemas > Add dialog.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.