ãã¾ã¾ã§ã sp ã¨ããåä½ãç¨æããã¦ãã¾ããããæ¨æºã®è¨å®ã¢ããªã§ã·ã¹ãã ã®æåã¹ã±ã¼ã«ã è¨å®ã§ããªããã£ãã®ã§ãã»ã¼ dp ã¨åããããªæ¯ãèãã§ããã Android 4.0 ã®è¨å®ã¢ããªã§ã¯ã·ã¹ãã å ¨ä½ã®æåã¹ã±ã¼ã«ãè¨å®ã§ããããã«ãªã£ã¦ãã¾ãã [Display] - [Font size] ã§ããããããæ¬é¡ã TextView ã® setTextSize() ã¡ã½ããã®å¼æ°ã¯ sp åä½ã¨ãã¦å¦çããã¾ãã --- public void setTextSize (float size) Set the default text size to the given value, interpreted as "scaled pixel" units. This size is adjusted based on the current density and user
{{#tags}}- {{label}}
{{/tags}}