Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display multiple activities on same screen

Is it possible to show two activities on the same screen at the same time? I need each activity to show data that changes with time.

like image 291
Puneet kaur Avatar asked Mar 25 '10 06:03

Puneet kaur


People also ask

What is used to display multiple screens inside single activity?

the mechanism of developing a multi-screen application inside a single activity is very simple. it is done by using the 'visibility' flag associated with each ui element.

What is an activity stack?

A task is a collection of activities that users interact with when trying to do something in your app. These activities are arranged in a stack—the back stack—in the order in which each activity is opened. For example, an email app might have one activity to show a list of new messages.

What is taskAffinity?

Task affinity lets you define which task an activity belongs to. By default, an activity has the same task affinity as its root activity. With task affinity, we can now separate activities into different tasks.


1 Answers

Or maybe you can use AndroidFragments

like image 90
grine4ka Avatar answered Nov 14 '22 22:11

grine4ka