현재 메인엑티비티라고 치면 main.xml을 inflate하고 있잖아요
근데 main이 아닌 다른 xml을 참조하려면 어떻게 해야하나요?
LayoutInflater layoutInflater = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
LinearLayout linearLayout = (LinearLayout) layoutInflater.inflate(R.layout.fragment_login1, null);
이런식으로 가져온다는것은 알고 있는데
linearLayout.findById 로 텍스트뷰를 가져와도 거기에 리스너가 안먹히네요 왜 그런거고 해결방법은 무엇일까요?