← Back to Changelog

Android XML: Description Attribute Support

By Edouard · February 7, 2026

Android XML files now support the description attribute for <string>, <plurals>, and <string-array> elements.

  • Import: The description attribute is now imported into the developer comment field
  • Export: Developer comments are output as description attributes (falls back to XML comments when not present)
  • Supported in both AndroidXML v1 and v2 handlers
<string name="welcome_message" description="Shown on first app launch">Welcome!</string>

See example usage in the Google I/O app →
“`