Basbous
Basbous

Reputation: 3925

Android : How to call activity inside running activity?

I am thinking to split the activity into two parts :

  1. List view : show the files.

  2. Second part will an activity contain the selected file.

its possible to do that, like frames in HTML ?

Upvotes: 0

Views: 363

Answers (1)

Ted Hopp
Ted Hopp

Reputation: 234795

I think what you want to be doing is using activity fragments. The guide topic Fragments describes how to do pretty much exactly what you're talking about. To support pre-3.0 Android systems, you'll need to use the compatibility package.

Upvotes: 1

Related Questions