인프런 커뮤니티 질문&답변
버튼 누르면 application이 그냥 종료 됩니다.
작성
·
237
0
public void onButon1Clicked(View v) {
LinearLayout container = (LinearLayout) findViewById(R.id.container);
LayoutInflater inflater= (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
inflater.inflate(R.layout.sub_layout, container, true)
}
답변
답변을 기다리고 있는 질문이에요
첫번째 답변을 남겨보세요!





