android XML tag called eat-comment, what is its use?

AndroidXmlTagsComments

Android Problem Overview


Noticed while looking through the android sdk of a tag like this:

<eat-comment/>

What is it used for? A reference example for it is here:

https://github.com/android/platform_frameworks_base/blob/master/core/res/AndroidManifest.xml

Android Solutions


Solution 1 - Android

<eat-comment/> is used to suppress comment lines from the documentation output.

You can read a little bit about it, with examples, here: https://android.googlesource.com/platform/frameworks/base/+/2888524e03896831f487e5dee63f18f1c33c0115/core/res/res/values/attrs.xml

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionj2emanueView Question on Stackoverflow
Solution 1 - AndroidandydevView Answer on Stackoverflow