I have two XML layouts declared in the res/layout folder one contains the generic template and the other contains the views specific to a particular screen. I want to add the second xml layout to the first one i.e. the generic one. As both of these layouts are declared as XML, I am not able to add one to other. How do I solve this problem?
I have two XML layouts declared in the res/layout folder one contains the generic
Share
Have you tried using a LayoutInflater and inflating your specific view and adding it to a ViewGroup or FrameLayout?