0

How can I reformat (add indentations) to my XML code in android studio 2.3.3 for windows? I have tried ctrl+alt+L but it is not working.

2 Answers2

3

Go to System Tools -> System Settings -> Keyboard -> Shortcuts Tab -> System -> Lock Screen

Ubuntu: Ctrl + Alt + L

MAC: Option + Command + L

Harshit Trivedi
  • 764
  • 9
  • 33
2

Use Alt+Ctrl+Shift+L.

You need to use the Shift key because the actual command is L (Capital L).

robinCTS
  • 5,746
  • 14
  • 30
  • 37
Rishav
  • 3,818
  • 1
  • 31
  • 49