Sometimes when you are editing Android Layouts in Eclipse, it makes more sense or is more convenient to change the actual xml content. The problem is, a lot of the time the xml is not pretty to look at. Lines of text often run off the screen and it is difficult to tell where one element begins and another ends.
Don't Worry
Eclipse has some handy auto-formatting tools. Press Ctrl+Shift+F to auto-format the selected file. Or from the menu, click Source->Format.
Don't Worry
Eclipse has some handy auto-formatting tools. Press Ctrl+Shift+F to auto-format the selected file. Or from the menu, click Source->Format.
Now your file will be cleaned up and easier to edit.
If you have text selected, only the selected text will be formatted. If no Text is selected, the entire file will be formatted. And Auto-Format will work on your Java files too.
Very glad to have found your blog! I am pretty new to any kind of programming, and I was wondering if you would have any tips on using Eclipse for android development. For example what packages work best. Thanks again my friend!
ReplyDeleteYour welcome..Keep visiting...
ReplyDeleteReally awesome blog. Your blog is really useful for me. Best Mobile Apps Development Company in Noida Delhi-NCR India . InstaaCoders Technologies is one of the best mobile apps development company in Noida. We have created, delivered successfully more than 300+ projects around the globe.
ReplyDelete