http://stackoverflow.com/questions/8399184/convert-dip-to-px-in-android
int dipValue = 200; // we wont to convert this dip value to pix
Resources r = getResources();
float pix = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dipValue, r.getDisplayMetrics());