static int getDP(int dp, View v) {
        return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, v.getResources().getDisplayMetrics());
    }
@param dp Desired size in dp (density-independent pixels)
@param v View
@return Number of corresponding density-dependent pixels for the given device
lib/src/main/java/com/turingtechnologies/materialscrollbar/Utils.java