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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -