例如,如果我有类似的东西
setContentView(R.layout.activity_main);
有没有快捷方式可以打开activity_main.xml
?如果没有,有没有办法创建一个?
Its there. Just hold Ctrl and move the cursor to the word activity_main
which is the line setContentView(R.layout.activity_main);
then, it will be give two option that one is for opening xml layout and another one is opening the declaration in R.java
file. This is the shortcut to open the XML layout easily.
Cheers!
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)