开发者

Widget Size for OpenPeak Open Tablet 7

The OpenTablet 7 Homescreen grid is a 5开发者_开发百科x5 on a 1024x600 resolution. If I am correct, would I design a homescreen widget to be 409.6x240 in landscape?


Have a look at this question for info on Widget sizes:

  • Android Widget Bitmap Sizes

EDIT
I see no reason why this wouldn't also apply to a 5x5 layout. The exact size depends on the number of cells you want your Widget to use. The formula is:

(number of cells * 74) - 2

So 5 x 2 would be: 368dp x 146dp. Note these are dp not px values. You can then calculate your pixel values, using:

pixels = dps * (density / 160)

so your hdpi (240) resource would be: 552px x 219px

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜