Android Code Style Guide defines \"Android Code Style Rules\". To conform to these rules one have to change quite a number of settings of the Java Code Formatter (Window->Pr
There are pre-made formatter rules available from the platform/development.git repository (GitHub mirror, in folder /ide/eclipse).
So you can simply import android-formatting.xml and android.importorder as mentioned here.