How can I define a user screen when using ADT 21?

倾然丶 夕夏残阳落幕 提交于 2019-12-23 02:41:17

问题


I updated my ADT to 21 last night, but then I found that in the ADT XML Overlay tool, I can't define a custom screen(1024*768, mdpi). Could you help me?


回答1:


After Update your ADT to version 21.

In Older Version each time you have to set Add Custom Screen if you want custom Device Configurations.

In ADT21 Oversion you can get this thing done by

open AVD Manager, u can define your custom screen in "Device Definition"

Alternative (Much Easier approach)

in Newest Version you Don't Need to Set Custom Device Configurations from the above Suggestion as much easier way is available for it. you >Just Have to Make Emulator With your Device Configurations and after you will see those Configurations with Emulator Name Inside Graphical Layout of XML

like after Created my Emulator of Nexus7 Emulator with Android 4.2 with Name as "Nexus7_Android_4.2" i will get this Device Configuration in Graphical Layout of xml automatically.

Below is the Screen Shot of it.

Hope it will Help you.



来源:https://stackoverflow.com/questions/13656793/how-can-i-define-a-user-screen-when-using-adt-21

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!