Rasoul Miri
Rasoul Miri

Reputation: 12222

remove space line in refactor xml in android studio

how remove space in tag in xml layout? i used command + option + L but not working

enter image description here

Upvotes: 1

Views: 201

Answers (1)

AskNilesh
AskNilesh

Reputation: 69699

Try this

File -> Setting -> Editor -> Select XML -> Other Tab

chnage keep blank line = 0

like this

enter image description here

Than just use like this will work fine

Win

Ctrl + Alt + L

Linux:

Ctrl + Shift + Alt + L

Mac:

Option + Command + L

Upvotes: 3

Related Questions