Is there any way to make this possible? I'm using Inflate but its not working. So did anyone have any other way?
Asked
Active
Viewed 5,696 times
3 Answers
2

ρяσѕρєя K
- 132,198
- 53
- 198
- 213
1
If you want to show like two different layout in screen, just use fragments. That is the proper way to solve your problem.

Akilan
- 1,707
- 1
- 16
- 30
0
use LayoutInflater
LayoutInflater vi = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
row = vi.inflate(R.layout.Second,null);

Kanaiya Katarmal
- 5,974
- 4
- 30
- 56