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
精彩评论