Source:
public void testMenus2 ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.formatting.XmlFormatPreferences prefs = com.android.ide.eclipse.adt.internal.editors.formatting.XmlFormatPreferences.create ( ) ; prefs.removeEmptyLines = true ; checkFormat ( prefs , "res/drawable-hdpi/layerlist.xml" , ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n" + " <item>\n" ) + " <shape android:shape=\"rectangle\">\n" ) + " <stroke\n" ) + " android:width=\"1dip\"\n" ) + " android:color=\"@color/line_separator\"/>\n" ) + " <solid android:color=\"@color/event_header_background\"/>\n" ) + " </shape>\n" ) + " </item>\n" ) + " <item\n" ) + " android:bottom=\"1dip\"\n" ) + " android:top=\"1dip\">\n" ) + " <shape android:shape=\"rectangle\">\n" ) + " <stroke\n" ) + " android:width=\"1dip\"\n" ) + " android:color=\"@color/event_header_background\"/>\n" ) + " <solid android:color=\"@color/transparent\"/>\n" ) + " </shape>\n" ) + " </item>\n" ) + "</layer-list>" ) ) , ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n" + " <item>\n" ) + " <shape android:shape=\"rectangle\" >\n" ) + " <stroke\n" ) + " android:width=\"1dip\"\n" ) + " android:color=\"@color/line_separator\" />\n" ) + " <solid android:color=\"@color/event_header_background\" />\n" ) + " </shape>\n" ) + " </item>\n" ) + " <item\n" ) + " android:bottom=\"1dip\"\n" ) + " android:top=\"1dip\">\n" ) + " <shape android:shape=\"rectangle\" >\n" ) + " <stroke\n" ) + " android:width=\"1dip\"\n" ) + " android:color=\"@color/event_header_background\" />\n" ) + " <solid android:color=\"@color/transparent\" />\n" ) + " </shape>\n" ) + " </item>\n" ) + "</layer-list>" ) ) ) ; }

Target:
public void testMenus2 ( ) throws java.lang.Exception { com.android.ide.eclipse.adt.internal.editors.formatting.EclipseXmlFormatPreferences prefs = com.android.ide.eclipse.adt.internal.editors.formatting.EclipseXmlFormatPreferences.create ( ) ; prefs.removeEmptyLines = true ; checkFormat ( prefs , "res/drawable-hdpi/layerlist.xml" , ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n" + " <item>\n" ) + " <shape android:shape=\"rectangle\">\n" ) + " <stroke\n" ) + " android:width=\"1dip\"\n" ) + " android:color=\"@color/line_separator\"/>\n" ) + " <solid android:color=\"@color/event_header_background\"/>\n" ) + " </shape>\n" ) + " </item>\n" ) + " <item\n" ) + " android:bottom=\"1dip\"\n" ) + " android:top=\"1dip\">\n" ) + " <shape android:shape=\"rectangle\">\n" ) + " <stroke\n" ) + " android:width=\"1dip\"\n" ) + " android:color=\"@color/event_header_background\"/>\n" ) + " <solid android:color=\"@color/transparent\"/>\n" ) + " </shape>\n" ) + " </item>\n" ) + "</layer-list>" ) ) , ( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( "<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n" + " <item>\n" ) + " <shape android:shape=\"rectangle\" >\n" ) + " <stroke\n" ) + " android:width=\"1dip\"\n" ) + " android:color=\"@color/line_separator\" />\n" ) + " <solid android:color=\"@color/event_header_background\" />\n" ) + " </shape>\n" ) + " </item>\n" ) + " <item\n" ) + " android:bottom=\"1dip\"\n" ) + " android:top=\"1dip\">\n" ) + " <shape android:shape=\"rectangle\" >\n" ) + " <stroke\n" ) + " android:width=\"1dip\"\n" ) + " android:color=\"@color/event_header_background\" />\n" ) + " <solid android:color=\"@color/transparent\" />\n" ) + " </shape>\n" ) + " </item>\n" ) + "</layer-list>" ) ) ) ; }