Can we have fragments without activity?
It is not possible to have fragment with out an activity. Fragments are part of activity. Fragments always lies with in the activity. An activity can exist without a fragment where as fragment with out an activity is not possible. You can assume fragment like a thread and activity is like a process, where threads are always part of a process. Every fragment will contribute its own UI to the parent activity.
Back To Top