Sub Header not showing on Android with Tabs

@mhartington… Mine is a hybrid app which works on iOS and Android both.
Now with your solution it doesn’t work with iOS.

It leaves a gap in between the header and the subheader in iOS.
The fix should be something with a conditional logic for iOS and Android.

I am not a CSS expert, but from what I can gather the spacing should vary depending on the platform.
Please help.

P.S:- An example is the Footer, which automatically adjusts well between iOS and Android.
It is in fact my temporary savior as meanwhile I have moved my sub-headers to footer.