The documentation at https://s.android.com/source/code-style.html diverged with the actual implementation of the AndroidStyle.xml * android imports are now on top * spaces inside empty tags i.g."foo />" * keep android:id, layout_width and layout_height as top xml atts. Change-Id: Id51533bf4285e74bd8393529580fd0e168150cb8