you can read dp directly from resources (use dimens.xml)