I have an html page that I am showing on an Android WebView Control.
However, I need to make sure that the margin, and size is as same as DP and SP specs given by the design team.
How can I confirm DP to % that I can use for scaled styling in HTML/css?
Also how can do the same with SP unit?
So for e.g. if I want my text font size to be 17 sp. Then what should be the corresponding version in %. Similarly, if the margin is expected as 64 dp then how I should calculate the corresponding percentage.
Thanks for your help.