New line at the end of XML files. Performance on Android devices?

Viewed 50

Java has some specification that states:

Some tools work better when files end with an empty line.

By researching, I have found that it refers only to text files.

What about XML files? Do they need a new line at the end?

  • When I add in Android Studio some vector asset, in that XML file a new line is automatically added at the end.

  • However when creating a new layout file there is no new line at the end of the file.

0 Answers
Related