Inspectopedia Help

Missing Android XML namespace

Missing Android XML namespace

Most Android views have attributes in the Android namespace. When referencing these attributes you must include the namespace prefix, or your attribute will be interpreted by aapt as just a custom attribute.

Similarly, in manifest files, nearly all attributes should be in the android: namespace.

Issue id: MissingPrefix

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3


Android, 2022.3.1 Beta 2

Last modified: 13 July 2023