开发者

Android/Eclipse: Configuring a custom AVD?

In the AVD manager for Android in Eclipse I can specify the size of the SD card storage, the "skin", the screen resolution, and certain hardware specs.

But what if I wanted to make something that specifically resembled 开发者_如何学Goa particular phone, say the Droid Incredible? Then I'd also need to have a row of little buttons below the screen for Home, Menu, Back and Search. Is there a step-by-step document describing how to configure/customize an AVD to that level of detail?

Thanks in advance.


Just copy a skin such as $SDK/platforms/android-4/skins/QVGA into your own custom skin $SDK/platforms/android-4/skins/YOURCUSTOMSKIN. Examining that folder (especially the "layout" file) should be enough to get you started with modifications. The AVD manager should pick up the skin and offer it as an alternative.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜