이 질문이 반복되는 경우 죄송합니다. 문제가 있습니다 :레이아웃 항목을 늘리십시오
main_layout.xml에 하나의 main_activity가 있습니다. 나는 TextView
과 SeekBar1
을 가지고 있습니다. custom_dialog_layout
에 seekbar2가있는 메뉴를 추가했습니다. Dialog
은 검색 바를 사용하여 custom_dialog를 보여줍니다.
inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
view = inflater.inflate(R.layout.resize_dialog,null);
seekbar = (SeekBar)findViewById(R.id.seekBar2);
응용 프로그램의 힘이 닫힙니다.
... 즉시 모든 도움을 주셔서 감사합니다, 나는 또 다른있어 문제 : "java.lang.IllegalStateException : 지정된 자식에 이미 부모가 있습니다. 먼저 자식의 부모에서 removeView()를 호출해야합니다." – prashantwosti