ååãåã
åã®ããã«åã«ããªãã¥ã¼ã表示ããã¨ãã¢ã¹ãã¯ãæ¯ãå´©ããå ´åãããã¾ãã ããªãã¥ã¼ãµã¤ãºã«ä»»æã®ãµã¤ãºãæå®ãã¦ããå®éã«ä½¿ç¨ãããµã¤ãºã¯ç°ãªãå¯è½æ§ãããã ç»é¢ã®ã¢ã¹ãã¯ãæ¯ã¨ç°ãªãã¢ã¹ãã¯ãæ¯ã®ã«ã¡ã©ããªãã¥ã¼ç»åã ç»é¢ã«ãã£ããããããã«å¼ã伸ã°ããã¦è¡¨ç¤ºããã¦ããããã§ãã ããã¯ViewGroup.LayoutParams.height/widthãè¨å®ãããã¨ã§æ£ãã表示ã§ãã¾ãã ã¤ã¾ããã«ã¡ã©ããªãã¥ã¼ãæç»ãã¦ããSurfaceViewã®LayoutParamsãåå¾ã㦠height/widthãè¨å®ãã¾ãã ï¼è¦ªã¬ã¤ã¢ã¦ãã¯FrameLayoutã§ãã試ãã¦ã¾ããã®ã§ãä»ã§ã©ããªããåããã¾ããããï¼ @Override public void surfaceChanged(SurfaceHolder holder, int format,
{{#tags}}- {{label}}
{{/tags}}