开发者

How can I see what the current android layout looks like for debugging purposes?

In my android application, I frequently add and remove parts of my layout. Is there a way I开发者_Go百科 can log or capture the layout at specific points? I want to see the way my buttons and layouts are nested to ensure it is as I want it to be at that moment.


Use the hierarchyviewer tool that comes with the SDK, in the platform-tools directory.


You can take screenshots using DDMS, or in Eclipse, view the layout as you create it..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜