On 15/02/2011 15:03, Deepak Kumar wrote:
One of the solution can be multiplying these values
with ratio (according to device).Is there any other way to do the same?
In code, I define constants in 'dp' and then multiply with
DisplayMetrics#density
<http://developer.android.com/reference/android/util/DisplayMetrics.html#density>
at runtime to get the correct pixel value.
Pepijn
--
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