private int getPxFromDp(int dp) {
        Resources rs = getResources();
        int pxConverter = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 1, rs.getDisplayMetrics());
        int px = pxConverter * dp;
        return px;
    }
private int getPxFromDp(int dp) {
        Resources rs = getResources();
        int pxConverter = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 1, rs.getDisplayMetrics());
        int px = pxConverter * dp;
        return px;
    }
private int getPxFromDp ( int dp ) { Resources rs = getResources ( ) ; int pxConverter = ( int ) TypedValue . applyDimension ( TypedValue . COMPLEX_UNIT_DIP , 1 , rs . getDisplayMetrics ( ) ) ; int px = pxConverter * dp ; return px ; }
/*
Helpers
/ * Helpers