We can know action bar / toolbar height from XML, via ?attr/actionBarSize
Is there a similar thingy for TabLayout
height? Something like ?attr/tabLayoutSize
As far as I know, NO.
But the google design specs says that it the height of tabs should be 48dp
or 72dp
in case of icon + text in a tab
https://www.google.com/design/spec/components/tabs.html#tabs-specs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With