Hello Guys,
I want to know if we can display multiple activities in a single activity using ActivityGroup. Can anyone please help me out with this ?
Thanks in advance.
Regards, Serenity.
Hello Guys,
I want to know if we can display multiple activities in a single activity using ActivityGroup. Can anyone please help me out with this ?
Thanks in advance.
Regards, Serenity.
Class A extends ActivityGroup{}
Get the LocalActivityManager
Set the content view as shown below
this.setContentView(activity.getWindow().getDecorView());
Where activity -> reference of the activity which you would like to display.
Class B extends Activity{
//in onCreate()
Activity activity = this;
}
As seen in coderanch.com