Last Updated: December 27, 2017

Tips & tricks android developer should know - part 4

Description: In this post I'm gonna show you some interesting tools from android studio we developers use.

Also check out Part 1,Part 2  and  Part 3.

So let's get started.

1. Layout Inspector: Layout Inspector is an interesting tool to help track view and their respective properties. It contains-

    •    View Tree - contains the hierarchy of the android widgets displaying the full nesting of views.
    •    Properties Table - contains the properties attached to respective view. e.g:layouts/methods/padding and many more.
 a) How to enable it?
        Goto Tools -> Android -> Layout Inspector fig.1 
fig.1 Layout Inspector
 Note: Make sure you have android process running for your app and you have active window present to take the screenshot.

 b) How to understand it?(fig.2)

       - 'View Tree' showing full hierarchy of the screen.
     - Screenshot of the active window       
      - 'Properties Table' for each view.
  View Click
    - Properties of the widgets get updated on the right pane i.e 'Properties Table.' and get high Lighted  on the screenshot screen.

fig.2 Layout Inspector

fig.3 Layout Inspector with Properties


<RelativeLayout xmlns:android=""
RecyclerView Item:

        android:text="20% - 50%"
        app:layout_widthPercent="50%" />
        app:layout_widthPercent="50%" />


Its an amazing tool to analyse the screen UI for the developers with all the information available on single click. Simply great.

2. How to change DPI of Phone using ADB?

Many times in our development phase we want to check the look of android UI on low/high end devices. Changing the DPI could come handy in such cases.

So let get started.

Steps 1: Find out your phones dpi using below command of adb shell. Search for 'mBaseDisplayInfo='. And then search for density within it.Save it for future to revert our dpi
adb shell dumpsys display

Steps 2: Search for 'mBaseDisplayInfo' and 'density' as show in fig.4

fig.4 Display Density
Step 3: Finally enter below adb command to change the dpi. (fig.5) with 200dpi,420dpi and 600dpi respectively

adb shell wm density 150


Note: If the changes do not reflect you can also try:
adb shell wm density 150 && adb reboot

Thats it, the screen will be reloaded and icons sizes will change to withstand with the density specified in the command.

For more updates follow us on -  


  1. I think choosing a time to look for an apartment is less priority. From this post, I Know that we have to focus on the time to look for the new apartment.

    Flats for sale in Vadapalani
    Builders in Chennai
    Properties in Chennai

  2. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. Thank you a lot! and if you need App development company then contact us!

  3. I was reading some of your content on this website and I conceive this internet site is really informative ! Keep on putting up. app cloner pro apk

  4. This comment has been removed by the author.

  5. Besides, Google Play store also faces an enormous volume of guests for downloading different apps for various purposes. Hence, is a key explanation behind Android apps to have important reach than the different apps.

  6. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. via app cloner

  7. i never know the use of adobe shadow until i saw this post. thank you for this! this is very helpful. hoverwatch price

  8. Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! watch face

  9. Flutter Programming is one of the most popular in the cross platforms industry. We build excellent flutter mobile app and also learn how to overcome performance issues. is the best choice for all startups to discuss and get their project quotation. Flutter Development Company We also enable many startups to do Proof of concept and help them to learn about business decisions.

  10. Thanks for sharing such a great information. Flutter framework is mostly used nowadays, as every business is building apps for both Android and iOS. It is the best known cross platform framework for app development in Austin.

  11. Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing. Mobile Price in Bangladesh 2020

  12. Smart Outsourcing Solutions is the leading web development, ecommerce solution, offshore outsourcing development and freelancing training company in Dhaka Bangladesh please
    visit us: seo service company in bangladesh
    seo service in bangladesh

  13. Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts. XE88

  14. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. XE88

  15. Are you a web developer? Then give a helping hand to your young ones. Let's grow the world knowledge. Head over to Thinkle Developers and help a seeker please.

  16. Financial sector has undergone drastic technological shifts in a comparatively short span of time. The shifts have been incorporated because of Growing Technology, Customer Demands, etc. Take a glance over some of the legacy Cross-platform App Development Company. These are so dynamic and efficient that it will cost you less time, more functionality, good output returns.

  17. A blog must be connected to the person in need. It is really important to understand the actual feel of such necessity and the essence of objective behind it. Author must give proper time to understand every topic before writing it. Itel A62 price in bangladesh

  18. This comment has been removed by the author.

  19. I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work. TubeMate PC Download Latest Version Plus Installation Guide

  20. I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work. TubeMate PC Download Latest Version Plus Installation Guide

  21. I read that Post and got it fine and informative. Clipping path

  22. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you! Tubidy APK 2020 Latest Update Download Free

  23. This feature is pretty cool that will not only let you reply quickly but also save time while you are up with something important. Smart reply feature will give reply suggestions according to the message received and you can select the correct one to send Android 10

  24. At the point when we talk about telephone then immediately Android come in our psyche, and we realize that Android stage is developing at a rushed rate around the world. Bulk SMS Service Provider in Sharjah UAE

  25. Flutter is one of the top cross-platform framework for app development and allows us to build Android and iOS apps together. The overall development cost is reduced by using Flutter app development and it also provide ease to developers to develop cross-platform apps. Flutter is Google’s new open source technology for creating native Android and iOS apps with a single codebase. Unlike other popular solutions, Flutter is not a framework; it’s a complete SDK – software development kit – which already contains everything you will need to build cross-platform applications.

  26. The Professional Certification in Business Analytics is a foundation course for students and professionals who want to develop niche data skills for their chosen industry domain or function area. Become a Business Intelligence and Data Visualisation expert and surge ahead in your career. The nine-day Business Analytics certification course covers all the essential Analytical and Statistical techniques for effective business decision making. This programme introduces the student to the basic concepts of Python analytics courses

  27. I appreciate your time and efforts on making things simple and easily understandable.

    Mobile App Ideas
    Web Development
    Dating App Development Company

  28. Awesome blog thank you for sharing valuable information. You describe really effective tips. Do you need android application development services. Visit us!

  29. The UI of an app should be intuitive and easy to learn. An application will not be successful if it does not impress users and give them an enriching experience.Top 10 Mobile App development Companies in UK

  30. Wonderful article with great piece of information. Thanks for sharing this with us. I'll take reference from your blog. Do share more such informative articles.
    remote android developer jobs


Your comments are valuable for us !!!