开发者

Supporting different resolutions in PhoneGap(Android)

I am using GWT(google web toolkit) as my javascript library.I am using PhoneGap to convert it to a native Android app.My problem is that my project开发者_开发知识库 is 480px*320px (landscape) for a HVGA emulator which works good it takes up the whole screen.If I test on the WVGA800 emulator the project is considerably smaller which makes sense.

How can I compensate for both resolutions?

Thanks


I figured this out.What I had to do was set the follwing in the supports-screens in the manifest.xml

android:anyDensity="false"
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜