Does setWidth(int pixels) use dip or px?

Posted by kknight on Stack Overflow See other posts from Stack Overflow or by kknight
Published on 2010-03-09T03:29:09Z Indexed on 2010/03/09 3:36 UTC
Read the original article Hit count: 260

Filed under:

Does setWidth(int pixels) use device independent pixel or physical pixel as unit? For example, does setWidth(100) set the a view's width to 100 dips or 100 pxs?

Thanks.

© Stack Overflow or respective owner

Related posts about android