Back to project page StreamHub-Android-Reviews-App.
The source code is released under:
MIT License
If you think the Android project StreamHub-Android-Reviews-App listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package livefyre.fadingactionbar; //ww w . jav a2 s .co m import android.content.Context; import android.view.WindowManager; public class Utils { public static int getDisplayHeight(Context context) { WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); @SuppressWarnings("deprecation") int displayHeight = wm.getDefaultDisplay().getHeight(); return displayHeight; } }