Answer the question
In order to leave comments, you need to log in
Programmatically creating an xml layout through a class?
How I would like to do (example):
if(условие){
rootView = inflater.inflate(R.layout.номер_один, container, false);
} else {
rootView = inflater.inflate(R.layout.номер_два, container, false);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question