S P
S P

Reputation: 854

Can we detect the number of View Components used on a screen

Can we detect the number of View Components like TextView, Button etc used on a screen when we launch any application? If yes, how to do so. I am talking about a third party app. I want to know the number of such objects used on a particular screen.

Upvotes: 0

Views: 42

Answers (1)

Raghunandan
Raghunandan

Reputation: 133560

You can use a uiautomator view that comes with the sdk tools.

Go to sdk/tools and there you will the uiautomatorview which is a windows batch file. On the top left there is a button to grab screen shot.

Inbox screenshot

enter image description here

Upvotes: 1

Related Questions