[mono-android] DrawLine problem with Paint.StrokeWidth = 1

Narcís Calvet narcis at steema.com
Tue Mar 22 07:04:21 EDT 2011


Hello Jon,

-----Original Message-----
From: monodroid-bounces at lists.ximian.com
[mailto:monodroid-bounces at lists.ximian.com] On Behalf Of Jonathan Pryor
Sent: dilluns, 21 / març / 2011 20:33
To: monodroid at lists.ximian.com
Subject: Re: [mono-android] DrawLine problem with Paint.StrokeWidth = 1

>Eureka! Urls!

	
http://developer.android.com/guide/practices/screens_support.html#attrs
	
http://developer.android.com/guide/topics/manifest/supports-screens-element.
html

Ok, thanks for the info.


>Manually manage DPI yourself, by scaling your output appropriately. 

Thanks, by default, old Android versions work much better for us
aesthetically. So we increased the font size and used DisplayMetrics.Display
as you suggested for calculating text positioning. This, combined with
setting antialias for text, pens and brushes; renders much better without
having to care about those issues related to the Android manifest.


Best Regards,
 
Narcís Calvet
Steema Software
http://www.steema.com 
http://twitter.com/SteemaSoftware 
https://www.facebook.com/SteemaSoftware





More information about the Monodroid mailing list