Fonts in an Android Wear redlines spec provided in pt, but how to conver to sp or dp values? -


i've been given redlines design doc android wear app font sizes have been specified in pt.

if text size in wear layout.xml should specified in dp (or should sp?) how convert spec values in pt equivalent in dp wearable app?

note, i've seen posting what difference between "px", "dp", "dip" , "sp" on android? , others didn't me know how proceed.

conversion between different units follows same on other android device. sp vs dp, font size, use sp can scaled correctly if user changes global font size setting.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -