http://www.hakkaku.net/articles/20090831-579 XML ã® manifest/application/activity ã®å±æ§ãandroid:screenOrientation ãã"portrait" ã«è¨å®ããã¨ã縦ç»é¢ã®ã¾ã¾å転ããªããªãã¾ãã è¨å®å¤ "portrait" ⦠縦ç»é¢ã§åºå® "landscape" ⦠横ç»é¢ã§åºå® "unspecified" ⦠ããã¤ã¹ä»»ã ç»é¢ã¢ã¼ã(縦ã横)ãå¤ãããå¤ãããªããåçã«å¤æ´ http://319ring.net/blog/archives/1502 if (æ¡ä»¶) { // ç»é¢ã®å転ãæå¶(ç¾å¨ã®åãã«åºå®) Configuration config = getResources().getConfiguration(); if (config.orientation == Con
{{#tags}}- {{label}}
{{/tags}}