List of utility methods to do Text Resize
int | resizeTextSize(int screenWidth, int screenHeight, int textSize) resize Text Size float ratio = 1; try { float ratioWidth = (float) screenWidth / 480; float ratioHeight = (float) screenHeight / 800; ratio = Math.min(ratioWidth, ratioHeight); } catch (Exception e) { return Math.round(textSize * ratio); ... |