lt.lemonlabs.android.expandablebuttonmenu
Class ScreenHelper

java.lang.Object
  extended by lt.lemonlabs.android.expandablebuttonmenu.ScreenHelper

public class ScreenHelper
extends java.lang.Object

Screen size and other metrics helper


Constructor Summary
ScreenHelper()
           
 
Method Summary
static float dpToPx(android.content.Context context, int dp)
           
static int getScreenHeight(android.content.Context context)
           
static int getScreenWidth(android.content.Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenHelper

public ScreenHelper()
Method Detail

getScreenWidth

public static int getScreenWidth(android.content.Context context)

getScreenHeight

public static int getScreenHeight(android.content.Context context)

dpToPx

public static float dpToPx(android.content.Context context,
                           int dp)