PomepuyN / discreet-app-rate

A lightweight non intrusive app rate reminder for Android
http://nicolaspomepuy.fr/non-intrusive-app-rate
Apache License 2.0
464 stars 51 forks source link

Fix an issue which will show the AppRateBar behind the ActionBar #20

Closed mikepenz closed 10 years ago

mikepenz commented 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.

screenshot_2014-05-25-13-22-43

PomepuyN commented 10 years ago

Thanks for the commit!