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