Shortcut to open Android XML layout in eclipse

For example, if I have something similar

setContentView(R.layout.activity_main);

Open activity_ Shortcut to main.xml? If not, is there a way to create one?

resolvent:

Just hold down the CTRL key and move the cursor to the word activity_ Main is setcontentview (r.layout.activity_main); Then, it will provide two options, one for opening the XML layout and the other for opening the declaration in the r.java file. This is a shortcut to easily open the XML layout

Cheers!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>