How to correct indentation in android studio
File->settings->Keymap and select 'eclipse' from keymap dropdown.
Select the code and press
- On Windows: Ctrl + Alt + L
- On MAC: CMD + Option + L
File->settings->Keymap and select 'eclipse' from keymap dropdown.
Select the code and press