Javier Manzano
Javier Manzano

Reputation: 4821

Android tool to show where a view is

Is there any android tool to inspect where views are in the layout of a live run? What I mean is when I'm running my app connected to the computer and debuggin with eclipse.

I have one fragment that I really don't know where has gone and I'm trying to figure it out

Upvotes: 0

Views: 93

Answers (2)

Leonidos
Leonidos

Reputation: 10518

Use heirarchy viewer on your emulator. It will show you view hierarchy and some view's parameters.

Heirarchy viewer work only on emulator. But you can add such functionality to real device.

Upvotes: 1

iTech
iTech

Reputation: 18430

There are two very useful tools to debug the UI layout. First one is in eclipse Dump view hierarchy of UI and the second one available under the Developer options in the Android device itself (see the below screenshots)

Dump view hierarchy of UI Developer Options

Upvotes: 2

Related Questions