Use static constand values from DisplayMetrics

Keeps Android Studio happy and is probably better style