A quick and dirty trick that works very well for me, is to set the background of a Layout / View in the XML to something really distinct, like #FF008040, and then switch to the UI editor or run the application.

Not as complete and detailed as the hierarchy viewer, but still very useful, fast, and works on real devices (unlike the hier viewer, I believe).

-- Kostya

17.04.2011 20:13, Dianne Hackborn пишет:
Also whenever you have problems with the UI not showing correctly, "hierarchyviewer" is a very valuable tool to look at what is going on in the view hierarchy.

Problems like these are very unlikely to be related to fragments, but in how the view hierarchy has been constructed.


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to