Closed mikepenz closed 10 years ago
Create a new method to get the ActionBarHeight --> Move this method to the Utils like your method getStatusBarHeight
With the previous attempt to get the ActionBarSize it caused some issue if the TranslucentDecorView was used. See the screenshot on the bottom.
Now it should work in 90% of the cases. It will still cause issues if someone has a custom-rom with a different ActionBarSize.
For my private projects i use the DrawInsetsLayout but we can't use it here.
Thanks for the commit!
Create a new method to get the ActionBarHeight --> Move this method to the Utils like your method getStatusBarHeight
With the previous attempt to get the ActionBarSize it caused some issue if the TranslucentDecorView was used. See the screenshot on the bottom.
Now it should work in 90% of the cases. It will still cause issues if someone has a custom-rom with a different ActionBarSize.
For my private projects i use the DrawInsetsLayout but we can't use it here.