androidandroid-layoutfigma

Is 12px text size in Figma equal to 12sp text size in Android XML layout?


In my figma android maket i have a text with 12px text size, which text size should i set for my textview in android app? 12sp or other?


Solution

  • No, the text size in Figma and Android XML layouts are not same.

    Pixels in Figma are fixed-size units on a static design canvas. They do not change based on the screen size or resolution.

    On the other hand, scale-independent pixels (sp) in Android are flexible units that adjust according to the user's font size settings and the device's screen density.