When editing XML files in the editor for Eclipse, line numbers are not displayed.
Use case:
I create a layout with many views, one of these lacks android:layout_
In eclipse: Windows > Preferences > General > Editors > Text Editors check: "show line numbers" It is not checked by default. It is for both source code and xml files (at least in helios)