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,665 times
3 Answers
2
ρяσѕρєя K
- 130,641
- 51
- 193
- 212
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
- 29
0
use LayoutInflater
LayoutInflater vi = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
row = vi.inflate(R.layout.Second,null);
Kanaiya Katarmal
- 5,736
- 4
- 28
- 53