How to adjust the height of the text block in the Zeplin and Android?

Maybe I'm missing something, but there is the following problem.

The height of the text block in Zeplin is considered at the extreme top and bottom points of the text
5afdb00f88365133930803.png

Height in the development environment, the OS is proportional to the font size padding top and bottom, like this:
5afdb0460354b734861678.png

Because of this, the vertical distance from the text to other blocks visually increase during development, if you take them Zeplin. What goes the layout.

Could not find a solution to this problem. Can anyone tell?
June 5th 19 at 21:26
1 answer
June 5th 19 at 21:28
Solution
A known weakness in the design: in different gamedoctor and programmes for the transfer of layout and design - different methods of constructing textboxes.

The only crutch that I have yet known - to inform developers that the distances from and to the texts must be measured not from the frame of texbox, and from the baseline of the font. But all of this slaughter.

Material in the subject where the detail is chewed this approach:
https://material.io/design/typography/understandin...

Find more questions by tags AndroidDesignMobile development