Top 10 Tips and Tricks for Android Studio

tips and tricks for android studio

Android Developers use a number of different IDE for writing the code two of them that are widely used are Android Studio and Eclipse. But the most famous and the recommended IDE or framework is Android Studio. It helps an android developer by providing a lot of functionalities and features to manage and writing codes.

• Theme
• Logcat
• profiler Tip
• Tool Window
• Copy & Paste
• Renaming
• Dual Screen
• Just Focus on Code
• Hardcoded String to Resource
• Resource Manager


A developer spends a lot of time on Android Studio to develop the project so it looks small. However, an important part of an Android Studio is that it provides a smooth and eye relaxing as well as customizing theme option to a developer.

To do so in Android Studio, go to:

• For Windows: File > Settings > Appearance & Behavior >Appearance > Theme and then choose the desired Theme. To change the color of the text in the editor, go to File > Settings > Editor and change the desired property.

• For Mac: Android Studio > Preferences > Appearance & Behavior > Appearance > Theme and then choose the desired option. To change the color of the text, go to Android Studio > Preferences > Editor and change the desired property according to your preference.


Logs are always helpful for a developer to find out the bugs in a project. Android Studio not only provides different types of Logcat to help the developer to debug a developer can also change colors to make them personalized.

You can do that in Android Studio by:

• For Windows: File > Settings > Editor >Color Scheme > Android Logcat and change the default color by unchecking the “Inherit values from” option.

• For Mac: Android Studio > Preferences > Editor > Color Scheme > Android Logcat and change the default color by unchecking the “Inherit values from” option.

Profiler Tip

It’s a better option to know for a developer how his Application is gone run in real and how many resources it needed to run. Android Studio not only provides a built-in emulator to check the look, but also provides a Profiler to check the different resource consumption by application like CPU, Memory, Network, and Energy. And the best part is a graphical representation. To do so, you can find the Profiler button on the right of the Run button.

Tool Window

Android Studio provides so many different tool windows for a developer like Logcat, version control, ToDo, etc. you can use a mouse to click and open them but if you use a keyboard most of the time then this is for you.

To open it with the help of a keyboard, you need to note the underlined number that is present on the small button to open that window like to open Logcat we have to use the number 6:
• For Windows: alt + 6
• For Mac: cmd + 6

Copy & Paste

Android Studio gives a way to find out what a developer can copy. Choose from your last 5 copy-paste operations by clicking ctrl + shift + v (in Windows) or cmd + shift + v (in Mac). If you are at the end of a line, just press ctrl+d to simply copy and paste to the next line. Similarly, you can copy a selected larger code of piece in Android Studio.

Also read: Top 10 Security Apps to Protect Your Android Devices


There are so many times when a developer needs to change a variable name or a class name. It is too hard to rename at every occurrence so Android Studio helps a developer All you need to do is select one occurrence and then right-click on it and then click on Refractor > Rename or simply shift + f6 (for both Windows and Mac) and then enter the new name Refract the changes. This will change the name of the file throughout the project.

Dual Screen

In a large class of code, sometimes, you need to see upper and lower code at the same time. Android Studio gives you a way to do that by just using Split Screen. In order to split the window, you need to right-click on the tab of the file that you want to split and choose from split vertically/horizontally.

Just Focus on Code

Sometimes a developer wants to just focus on code what’s he is writing. Android Studio provides a way to do that so enable the Distraction Free Mode. Go to View > Enter Distraction Free Mode (in Windows) or View > Appearance > Enter Distraction Free Mode (in Mac).

Hardcoded String to Resource

You can move your hardcoded string to string.xml file or any other resources file by just clicking on the string and pressing alt + enter (in Windows) or option + return (in Mac) and then Extract String Resource.

Resource Manager

Resource Manager is the newest tool in the layout editor of Android Studio. It shows all the single resources that you have in your application i.e. you will see drawable, colors, layout, etc and you can edit them from here too.

Want to learn and explore more about Android development? Reach out to Dignitas Digital today! We, as a digital agency, believe in talent acquisition and nurturing candidates who have the zeal to learn and grow.

Previous Post
Android Development for Beginners – 10 Tips for an Easy Start
Next Post
Top 10 Online Tools to Test SSL, TLS and Latest Vulnerability