Calculating dpi to place the buttons correctly
Using DPI corresponding to each device instead of hardcoded variables.