This question already has an answer here:
- Reference resources in javadoc 3 answers
Is there a way to use JavaDoc links to reference Android XML files in res
folder.
Something like {@link res/values/custom_strings.xml}
.
{@link com.yourApp.R.layout#layoutName}
Bryan Baan
Someone else answered this question in another topic. Here's the link: https://stackoverflow.com/a/24814578/7262915
Hope this helps you!
来源:https://stackoverflow.com/questions/41433645/how-to-reference-an-xml-file-in-android-javadoc