开发者

Using "dp" and "sp" in drawing

开发者 https://www.devze.com 2023-03-09 09:53 出处:网络
I\'m trying to make a little app that has a little meter in it (think like a speedometer).Well, for the pointer (you know what I\'m tal开发者_如何转开发king about), I want to make it an 1/8th of an in

I'm trying to make a little app that has a little meter in it (think like a speedometer). Well, for the pointer (you know what I'm tal开发者_如何转开发king about), I want to make it an 1/8th of an inch thick, independent of the display size.

How would I go about doing this?


Use in (inches) as your unit instead.

0

精彩评论

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

关注公众号