-
카테고리
-
세부 분야
모바일 앱 개발
-
해결 여부
미해결
버튼 누르면 application이 그냥 종료 됩니다.
16.08.09 21:20 작성 조회수 136
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)
}
답변을 작성해보세요.
답변 0