Sunday, April 17, 2011

Re: [android-developers] Fragments won't display in port orientation

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate