technoViking
Lurker
Hi,
I'm creating the following application for an android tablet.
It will have a button bar on the bottom of the tablet screen.
it will have a few buttons, lets say 3.
If a user clicks one of the buttons another application will apppear in the middle of the screen. THe user can interact with this other application in the middle of the screen.
If the user clicks another button, another application will appear and the user can interact with that one as well. Basically the application has 3 mini applications inside it. For example, 1 button could open up a small note taking app. Another button would open up a dialer, etc.
So the question is what is the best way to design such a app?
I know I need to use fragments. But should I just have 1 activity, with several fragments?
For example:
1 activity would take up the whole screen and act as a container/background.
1 fragment would be the button bar (inside the main actiivity)
each button the user presses would create a new fragment?
so if i have 3 buttons, that means there will be 3 seperate applications the user can interact with.
Would these separate applications that appear be activities or fragments?
Thanks!
I'm creating the following application for an android tablet.
It will have a button bar on the bottom of the tablet screen.
it will have a few buttons, lets say 3.
If a user clicks one of the buttons another application will apppear in the middle of the screen. THe user can interact with this other application in the middle of the screen.
If the user clicks another button, another application will appear and the user can interact with that one as well. Basically the application has 3 mini applications inside it. For example, 1 button could open up a small note taking app. Another button would open up a dialer, etc.
So the question is what is the best way to design such a app?
I know I need to use fragments. But should I just have 1 activity, with several fragments?
For example:
1 activity would take up the whole screen and act as a container/background.
1 fragment would be the button bar (inside the main actiivity)
each button the user presses would create a new fragment?
so if i have 3 buttons, that means there will be 3 seperate applications the user can interact with.
Would these separate applications that appear be activities or fragments?
Thanks!
