Is it possible to have two different layouts for different cases in the same activity or do I have to use intent
to call another activity
with a di
I suggest using Fragments
It will be helpful if you can explain more to find other solutions if your not ok with fragments
Edit
Use android support libraries for supporting lower OS versions
Edit2
if you want to use two xml you can combine two xml into one and use it
this is also useful while using layout again in many cases