On Jan 14, 5:26 pm, Dianne Hackborn <[email protected]> wrote: > On Fri, Jan 14, 2011 at 8:30 AM, Phil Endecott < > > [email protected]> wrote: > > Thanks Dianne. What's going on with the Tab? Its true dpi, which it > > does accurately report in the xdpi and ydpi fields, is about 170. I > > could imagine that a tablet might be typically held further from the > > face than a phone, hence the dpi that should be used to control the > > size of graphic elements etc. might be set to a different value - but > > surely, it should be set to a lower value, shouldn't it?
I think I got this the wrong way around. The Tab has a higher value, which is what you would expect for a tablet rather than a phone. > Out of curiosity, what are you trying to do? Two things; I have maps where I might need to show an actual "miles per inch"-equivalent scale, though I now think that's impossible, and also to select things like font sizes. I appreciate that the quantised density values are appropriate for the latter, though it is slightly complicated by the fact that I also support iOS devices whose density values don't align with your choice of quantisation; if I get an Android device whose screen has the same dimensions as an iPad, I'd rather use the iPad graphics that I already have. So I'd like to quantise the actual density to a slightly different set of values than the ones you've chosen. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

