What is the correct Device Definition for Google Glass (for a simulator in Eclipse or Android studio)?

后端 未结 3 2004
攒了一身酷
攒了一身酷 2020-12-25 14:30

Yes I will test on the actual device (when it arrives) but would be nice to know now:

How to setup a device definition so I can run an emulator that is something lik

3条回答
  •  Happy的楠姐
    2020-12-25 14:51

    I created an AVD with the following specs:

    Screen Size: 3" Resolution: 640x360 RAM: 682 MB Size: Small Screen Ratio: notlong Density: hdpi

    and its a pretty good representation of my Glass, though its not perfect. I don't know what the exact screen size should be but with that resolution and density, looking at XML layouts in the Graphical Layout Preview look accurate.

提交回复
热议问题