How to reference an XML file in Android Javadoc? [duplicate]

ε祈祈猫儿з 提交于 2019-12-12 10:43:31

问题


Is there a way to use JavaDoc links to reference Android XML files in res folder.

Something like {@link res/values/custom_strings.xml}.


回答1:


{@link com.yourApp.R.layout#layoutName}



回答2:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!