Android, iOS, and UWP platforms all have different measurement units that can vary across devices. Xamarin.Forms uses a platform-independent unit of measurement that normalizes units across devices and platforms. There are 160 units per inch, or 64 units per centimeter, in Xamarin.Forms , refer to here .
Check the thread it helps you understand how the Coordinate units works .
Xamarin forums are migrating to a new home on Microsoft Q&A!
We invite you to post new questions in the Xamarin forums’ new home on Microsoft Q&A!
For more information, please refer to this sticky post.
Answers
Android, iOS, and UWP platforms all have different measurement units that can vary across devices. Xamarin.Forms uses a platform-independent unit of measurement that normalizes units across devices and platforms. There are 160 units per inch, or 64 units per centimeter, in Xamarin.Forms , refer to here .
Check the thread it helps you understand how the Coordinate units works .
Xamarin forums are migrating to a new home on Microsoft Q&A!
We invite you to post new questions in the Xamarin forums’ new home on Microsoft Q&A!
For more information, please refer to this sticky post.
@jezh Then if I want to set 30dp in android.
what should be set to the HeightRequest?
@jezh or if I want to set 30 pixel what should be set to HeightRequest?
You need to convert it , check .
https://forums.xamarin.com/discussion/comment/220170/#Comment_220170