statusbar how to find out the height
tabbar for different screen resolutions. It is necessary to calculate the height of the free space between the
tabbar . I can not understand what size to transfer to the designer. Found in sources only in
pix-ах , but this value will vary depending on the screen size ...
Yes, this is a headache ... As I sometimes envy the apple makers, they have 2-3 sizes for all occasions and I don’t want to write. In Android'er in this sense, life is sweet.
Initially it is assumed that the dimensions are best expressed in
dip 'ah (they are
dp ), but this does not always work either.
In your particular case - you have one exact size from which to push: the height of the line (which depends on the chosen font and style). Unfortunately, the height of the line can only be found dynamically:
And dynamically change the height of the tab / statusbar along with the play or whatever you have there.
And tell the designer that the height of your tab will be 1.5 of the font size, and then let it design :)