mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
fix #17, add an Extra large font size
This commit is contained in:
@ -15,4 +15,5 @@ public class Constants {
|
||||
public static final int FONT_SIZE_SMALL = 0;
|
||||
public static final int FONT_SIZE_MEDIUM = 1;
|
||||
public static final int FONT_SIZE_LARGE = 2;
|
||||
public static final int FONT_SIZE_EXTRA_LARGE = 3;
|
||||
}
|
||||
|
@ -23,6 +23,9 @@ public class Utils {
|
||||
case Constants.FONT_SIZE_LARGE:
|
||||
textSize = res.getDimension(R.dimen.large_text_size);
|
||||
break;
|
||||
case Constants.FONT_SIZE_EXTRA_LARGE:
|
||||
textSize = res.getDimension(R.dimen.extra_large_text_size);
|
||||
break;
|
||||
}
|
||||
return textSize;
|
||||
}
|
||||
|
Reference in New Issue
Block a user