开发者

How can I change the default size (width + height) of the XML layout preview in ADT plugin for Eclipse?

Every time that I want to do a Layout, I'm getting a black layout preview then I can drop stuff on it, that's ok, but how can I change the size of that blank surface (xml). The question came because I set a folder layout-large and then when I add a new layout.xml to that folder it came with the same size, as a layout-normal, so I’ve something like that

(folder)layout

layout.xml

(folder)layour-large

layout.xml

Both 开发者_JAVA百科file has the same physical or visible size, how can I increase the large one?


There is a toolbar above the preview where you can choose device (ADP1 by default). You can change it to Nexus One (800x480) or create you own device with custom resolution and select it.

How can I change the default size (width + height) of the XML layout preview in ADT plugin for Eclipse?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜