When I set the HeightRequestI can do this:
but If the android is 44dp what show I set ?
if the android font-size is 22sp.
how to set the FontSizeProperty?
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 .
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies