FrameLayoutã使ãã¨ã¬ã¤ã¢ã¦ããéãã¦è¡¨ç¤ºãããã¨ãåºæ¥ã¾ãããaddContentViewã使ããã¨ã§ãåããããªåä½ãåºæ¥ã¾ãã ã¾ãä¸ã«è¡¨ç¤ºããã¬ã¤ã¢ã¦ããè¨è¿°ããxmlãã¡ã¤ã«ã¨ãéãã¦è¡¨ç¤ºãããã¬ã¤ã¢ã¦ããè¨è¿°ããxmlãã¡ã¤ã«ãå¥ã
ã«ç¨æãã¾ããä»åã¯éãã¦è¡¨ç¤ºããxmlãã¡ã¤ã«ããdummyãã¨ãã¦ãã¾ãã onCreateã§setContentViewãããå¾ã«ä»¥ä¸ãè¨è¿°ãã¾ãã View view = this.getLayoutInflater().inflate(R.layout.dummy, null); addContentView(view, newãLinearLayout.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT,ViewGroup.LayoutParams.FILL_PARENT)); 2æ以
{{#tags}}- {{label}}
{{/tags}}