Top 3 Android Studio Shortcuts - Ataul

Ataul is a Google Developer Expert for Android focusing on inclusive design for mobile platforms and loves facilitating the production of universally useable apps. Also, he watches a lot of movies.

Everyone likes to increase their productivity and everyone has their own favourite productivity hacks, but not everyone agrees! In this blog, Ataul will talk about his top three Android Studio shortcuts and how they're better than the rest.

Cycle between open tabs

Linux: alt + left AND alt + right  
OSX: cmd + shift + [ AND cmd + shift + ]  

animated gif showing switching between open tabs

This shortcut switches to the next (or previous) open tab in the current editor.

I know a lot of folks prefer hiding tabs and using ctrl + tab/ctrl + shift + tab, but I'm more partial to spamming the left/right shortcuts.

As an added bonus, the OS X shortcut also works in Google Chrome to switch between tabs!


Complete the current thing

Linux: ctrl + shift + enter  
OSX: cmd + shift + enter  

animated gif showing method completion, statement completion and if statement completion

This shortcut completes your current statement in the shortest way and moves the cursor to the line you need next.

Most often, it's useful for just added braces and moving the cursor inside the braces, but when you couple it when the autocomplete for variables, the time saved adds up!


Choose button in open dialog

alt + [underlined letter]  

animated gif showing quick activation of button in dialog

This shortcut lets you choose one of the options of an open dialog. When you press alt, an underline appears below the letter you need to press to perform that action.

In the above example, you can see that the a in "Select all" and U in "Unselect all" are underlined, showing us that we need to press alt + a or alt + u to choose those options.

There is one case it doesn't work. I always forget which case it is. But when it happens, it's very annoying.

About Novoda

We plan, design, and develop the world’s most desirable Android products. Our team’s expertise helps brands like Sony, Motorola, Tesco, Channel4, BBC, and News Corp build fully customized Android devices or simply make their mobile experiences the best on the market. Since 2008, our full in-house teams work from London, Liverpool, Berlin, Barcelona, and NYC.

Let’s get in contact