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
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)
Left
- 'View Tree' showing full hierarchy of the screen.
Center
- Screenshot of the active window
Right
- 'Properties Table' for each view.
- 'View Tree' showing full hierarchy of the screen.
Center
- Screenshot of the active window
Right
- '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.
- 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 |
RecyclerView:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context=".MainActivity">
<android.support.v7.widget.RecyclerView
android:id="@+id/percentList"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
</RelativeLayout>
RecyclerView Item:
<android.support.percent.PercentRelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/fifty_huntv"
android:background="#ff7acfff"
android:text="20% - 50%"
android:textColor="@android:color/white"
style="@style/STYLE_PERCENT_TV"
app:layout_heightPercent="20%"
app:layout_widthPercent="50%" />
<TextView
android:layout_toRightOf="@id/fifty_huntv"
android:background="#ffff5566"
android:text="80%-50%"
style="@style/STYLE_PERCENT_TV"
app:layout_heightPercent="80%"
app:layout_widthPercent="50%" />
</android.support.percent.PercentRelativeLayout>
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
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 |
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.
I appreciate your effort and you have done a great job.thanks for the ideas and please add more in future.
ReplyDeleteSoftware Testing Training in Chennai
Software testing training in OMR
JAVA Training in Chennai
Python Training in Chennai
Big data training in chennai
IOS Training in Chennai
Software Testing Training in Chennai
Software testing training in Tambaram
Great Article. Thank you for sharing! Really an awesome post for every one.
DeleteProject Centers in Chennai
JavaScript Training in Chennai
Final Year Project Domains for IT
JavaScript Training in Chennai
This is an awesome post.
ReplyDeleteWordpress Development company in Chennai
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.
ReplyDeleteFlats for sale in Vadapalani
Builders in Chennai
Properties in Chennai
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!
ReplyDeleteI 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
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteBesides, 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.
ReplyDeletehttps://appcloner.app
https://appcloner.net
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
ReplyDeletei never know the use of adobe shadow until i saw this post. thank you for this! this is very helpful. hoverwatch price
ReplyDeleteAwesome 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
ReplyDeleteFlutter 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.
ReplyDeleteThanks 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.
ReplyDeleteThanks 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
ReplyDeleteSmart Outsourcing Solutions is the leading web development, ecommerce solution, offshore outsourcing development and freelancing training company in Dhaka Bangladesh please
ReplyDeletevisit us: seo service company in bangladesh
seo service in bangladesh
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
ReplyDeletePositive 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
ReplyDeleteAre 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.
ReplyDeleteFinancial 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.
ReplyDeleteThis is good post. please checkout Samsung Galaxy S11 Price in bangladesh 2020
ReplyDeleteA 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
ReplyDeletegreat post. পাবজি গেম ডাউনলোড
ReplyDeleteThis comment has been removed by the author.
ReplyDeletegreat post to read
ReplyDeleteI 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
ReplyDeleteI 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
ReplyDeleteI read that Post and got it fine and informative. Clipping path
ReplyDeleteI 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
ReplyDeleteThis 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
ReplyDeleteAt 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
ReplyDeleteFlutter 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.
ReplyDeleteThe 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 language.business analytics courses
ReplyDeleteI appreciate your time and efforts on making things simple and easily understandable.
ReplyDeleteMobile App Ideas
Web Development
Dating App Development Company
Awesome blog thank you for sharing valuable information. You describe really effective tips. Do you need android application development services. Visit us!
ReplyDeleteThe 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
ReplyDeleteWonderful 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.
ReplyDeleteremote android developer jobs
Finally you have to submit your application for review. Here you have many free layouts/templates to customize and easily edit your Android application of your choice.Smart AudioBook Player Download
ReplyDeleteThis is a good post. This post gives truly quality information. I’m definitely going to look into it. Really very useful tips are provided here. Thank you so much. Keep up the good works mod apk
ReplyDeleteDisintegration on Android makes it complicated to turn out fixes so many campaigns stay susceptible. It's firm to keep clientele glad and keep conviction while sanctuary problem lingo is unchanging speedily.get redirected here
ReplyDeleteI feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details. lulubox apk
ReplyDeleteVery useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. android app maker
ReplyDeleteI found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... academy guns
ReplyDeleteMost free applications that are accessible openly can be upheld up into an APK document.itools crack
ReplyDeleteI enjoy it for creating the details, keep up the truly amazing perform continuing meditation cushion
ReplyDeleteIf you don"t mind proceed with this extraordinary work and I anticipate a greater amount of your magnificent blog entries Auto Detailing in San Francisco area
ReplyDeleteYou completed certain reliable points there. I did a search on the subject and found nearly all persons will agree with your blog. St. Louis photographer
ReplyDeleteI think about it is most required for making more on this get engaged Alcohol delivery London
ReplyDeleteIt should be noted that whilst ordering papers for sale at paper writing service, you can get unkind attitude. In case you feel that the bureau is trying to cheat you, don't buy term paper from it. xshn
ReplyDeleteI want to say thanks to you. I have bookmark your site for future updates. עו"ד תאונת עבודה
ReplyDeleteVery efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. Avenue South Residence
ReplyDeleteVery efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. The Avenir
ReplyDeleteVery efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. midtown modern condo
ReplyDeleteVery efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. Clavon Condo
ReplyDeleteVery efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. myra condo
ReplyDeleteVery efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. One Pearl Bank
ReplyDeleteVery efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. Hyll On Holland
ReplyDeleteA backlink is a link created when one website links to another. Backlinks are important to SEO & impact for higher ranking. In my 7+ years seo Career i see, without backlinks a website doesn't rank higher on google SERP.
ReplyDeleteGet Your 300+ High Quality DoFollow Backlinks Here!
Order Now with Full Confidence & 100% satisfaction.
It's very useful blog post with inforamtive and insightful content and i had good experience with this information.I have gone through CRS Info Solutions Home which really nice. Learn more details About Us of CRS info solutions. Here you can see the Courses CRS Info Solutions full list. Find Student Registration page and register now.Find this real time DevOps Training and great teaching. Join now on Selenium Training online course. Upskill career with Tableau training by crs info solutions. Latest trending course is Salesforce Lightning training with excellent jobs.
ReplyDeletePhoenix Residences (Former Phoenix Heights) by OKP Holdings Limited. Hotline 61009266. Get Discounts, Direct Developer Price, Brochure, Floor Plan, Price List & More. Phoenix Residences
ReplyDeleteWith Brandsoo, it’s never been easier or more convenient to buy a brand name shop high quality domain names and professional logos that’ll instantly give your brand a leg up and resonate with your audience! With many different domain sellers all competing for your business, you need to know where your business and brand will see.
ReplyDeleteYou completed a few fine points there. I did a search on the subject and found nearly all persons will go along with with your blog. best instagram followers app for ios
ReplyDeleteThere are many iPhones and Android Smartphones in the market, giving rise to confusion over which one can be chosen. There have been lots of debates, discussions about whether Android or an iPhone is the best buy. Apk Door
ReplyDelete
ReplyDeleteInteresting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks PMP Certification
PMP Course
PMP Course in Malaysia
PMP Training in Malaysia
PMP Training
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!
ReplyDeletedata analytics course
big data analytics malaysia
big data course
I am really very happy to visit your blog. Now I am found which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post. data science training in aurangabad
ReplyDeleteI would like to say that this blog really convinced me to do it! Thanks, very good post.data science course
ReplyDeleteForex Signals, MT4 and MT5 Indicators, Strategies, Expert Advisors, Forex News, Technical Analysis and Trade Updates in the FOREX IN WORLD
ReplyDeleteForex Signals Forex Strategies Forex Indicators Forex News Forex World
I am impressed by the information that you have on this blog. It shows how well you understand this subject. new development Slough
ReplyDeleteSuch a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. best places to invest in property
ReplyDeleteHey! Finally we are launch 150+ High DA Dofollow Quality Backlinks here! Order Now and Boost your website ranking.
ReplyDeleteManual Backlinks | Quality Backlinks | Dofollow Backlinks | High Quality Backlinks
Thank you!
DigiPeek
Android may be a very powerful mobile operating technique, created by Google and carters especially to smartphone mobile handsets. it's an excellent OS for all developers because it makes the work simple, easy, and uncomplicated. Therefore, android developer get to style and manufacture mobile applications at cheap prices.
ReplyDeleteWith Android App Developmentyou can put flexibility and power of the platform to work anytime and anywhere to create best in class productivity apps.
ReplyDeleteSitus Judi bola online UFA88 Terpercaya, juga memiliki casino online seperti, baccarat, roulette, Judi slot online, sabung ayam dan dadu online.
ReplyDeleteAdam the alien - Animated films A close encounter with a likable robot from another solar system leads to a star-crossed friendship Do aliens exist and an impossible intergalactic mission to save Extraterrestrial life the robot’s friends— despite overwhelming New cartoon movies odds.
ReplyDeleteTogelResult.info - Adalah Situs data hk Khusus yang menyediakan Daftar keluaran hk Result Nomor Togel dan Data hasil keluaran live draw hk seperti hk sgp sydney yang sudah terpercaya keluaran togel hk.
ReplyDeleteShield Security Solutions Provides Ontario Security Training, Security Guard License or Security License in Ontario. Get Started Today
ReplyDeleteIt is clear that Python is a vital language for web-based programmers. More can be learnt at a reputed Python training institute. unindent does not match any outer indentation level python
ReplyDeleteShield Security Solutions Offers Security Guard License Training across the province of Ontario. Get Started Today!
ReplyDeleteSecurity Guard License | Security License | Ontario Security license | Security License Ontario | Ontario Security Guard License | Security Guard License Ontario
India's leading IT Company: https://www.whitelioninfosystems.com/
ReplyDeleteWebsite laten maken? Onze professionals bouwen een omzetverhogende, professionele én unieke website of webshop! Een website laten maken kan vandaag nog
ReplyDeleteWebsite laten maken | webdesigner | website freelancer | webdeveloper | webdesigner
Discover antimicrobial protection that’s built-in right into the finish of select TikTok Locksmith Services.
ReplyDeleteCheck Profile: https://www.theverge.com/users/KarenAWebster
ReplyDeleteAt the point when you have numerous sellers, your benefit procuring objective likewise broadens. In the event that the administrations are fulfilling for your accomplices, getting achievement will be simpler. besimple.com/
ReplyDeleteThe design surely marvelous. Every one of those modest material are actually fashioned utilising wide range of the past past experiences. I'd like the lot tremendously. App Development
ReplyDeleteI was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more.
ReplyDeletedigital marketing course in guwahati
I reading your post. This is very nice article.I want to twite to my followers.
ReplyDeleteIf you need baclink servicesBacklink work is here please contact me
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. outsource online data entry services
ReplyDeletePresently, if your site is planned subjectively and present the items or the administrations around the market prize quantitatively, your odds of turning into a brand increments. SEO Services
ReplyDeleteBetter make video about these tricks for youtube, get some youtube subscribers from here https://soclikes.com/ and you will get popular youtube channel
ReplyDeleteFire Alarm Houston, a RAB Security company, was founded in 2001. The purpose was to provide the Life Safety System to Houston, Harris County, Fort Bend County and the surrounding areas, a viable alternative to the overgrown nationwide companies. We pride ourselves on being the most trusted, well-rounded and customer-oriented security company in Houston, backed by over seven years of company history and national manufacturer brand names that you know and trust, such as Honeywell.
ReplyDeleteFire Sprinkler Texas has been providing fire sprinkler installation, inspection and services for over 30 years in Texas, mainly in the Greater Houston, Dallas, San Antonio or Austin and surrounding area. If you are building a new facility which requires a fire sprinkler system by code, please give us a call for a free consultation.
ReplyDeleteWe are a full service internet marketing company in the Pittsburgh area, that specializes in providing affordable internet marketing solutions for small businesses.
ReplyDeleteOur team builds and enhances local business listings and seo search engine optimization. This Pittsburgh SEO company service drives lead generation and brand recognition.
Our goal is long term mutual relationships with small business owners, providing customized internet marketing services.
The most reliable Maintenance company in Dubai, our reputation is one of the best! We pride our company on high quality and good value service.
ReplyDeleteProperty Adjuster - We specialize in helping families with their property damage claim. Take comfort knowing I will do everything I can to help you. Ask for Mike
ReplyDeleteKeeping up with Brilyent Kelly. Get Exlcusive offers and see the latest Music and news & Follow me on instragram Celebrity.
ReplyDeleteThe design confidently amazing. These little information are generally fabricated applying massive amount record expertise. I need all this drastically. Best Smart contract Development company bangalore
ReplyDeleteThanks for posting this info. I just want to let you know that I just check out your site. Purple Aladdin Vest
ReplyDeleteThank you for this important information about Tips & tricks android developer.
ReplyDeleteonline classified ads platform