Is this possible to determine the height of the title bar I mean the the default height of the Title Bar?
In material design, default height for title bar is 56 pixels. (+shadow)
On my Samsung S8 it’s 240px
I think he meant 56dp
In your case
24dp status bar + 56dp action bar × 3 density = 240px
to say it completely right:
(24dp status bar + 56dp action bar) × 3 density = 240px
Sorry, but some brackets are missing, I remember the slaps of some math teachers.
Same here, maybe that’s why I’m still ignore it
Btw, the calculation is only for Android 6+, below 6 status bar is 25dp.
And in landscape action bar is 48dp