1To import the formatter, go to the preferences, section Java > Code Style > 2formatter, then click on import and choose 3development/ide/eclipse/android-formatting.xml 4 5To import the import order, to go into Java > Code Style > Organize Import, 6then click on import and choose development/ide/eclipse/android.importorder 7