In Windows
1.Press Ctrl+Shift+A
2.Input following string: "show line numbers"
And you will see the setting, this method can find all the settings easily!
MAC
1.Press Command+Shift+A
2.Input following string: "show line numbers"
and following same flow of android studio.