Code alignment issue in Android Studio -


i facing weird issue android studio. whenever enter new line ( pressing enter ) cursor automatically shifts 2 characters. ( see int x=2 line below setcontentview )

when press tab, aligns setcontentview line.

i have explored preferences of android studio , can't figure out solution. happening since changed theme default dracula earlier.

any appreciated. thanks

enter image description here

looks me whole method misaligned. try automatically re-align:

  1. select all

    ctrl+a

  2. fix indentation on selection

    ctrl+alt+i


Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -