Sorry, I know that this topic has been covered a bit. I've read
related posts and am still a bit confused. I am working on an app that
while the prototype will have 3 main screens, it will eventually have
dozens. Each screen will present either dynamically changing status or
take user input. To visualize, it is required to be laid out similar
to how MS Word or a typical PC is. It has a status bar at the top and
a navigation bar at the bottom that is common to all screens (slight
tweaks for some screens, like different icons) in the middle is what I
would call a screen layout pane that needs to be updated with an
applicable layout.

The status, nav bar, and each screen are defined in their own layout
xml file. I've created a base class for my Activities that I want to
handle updates to the status bar and handle the user clicks on the nav
bar buttons.

1. It feels right to me that each screen layout should have an
associated Activity class that understands how to control that screen.
>From some of things I've read it sounds like my base class or the main
class should be an ActivityGroup.  I can't seem to find any examples/
tutorials on how to implement that though.

2. Currently I tried making each of the screens it's own Activity and
kick that off from the main Activity by creating an Intent and than
calling startActivity.  Since its base class handle displaying the
bars the user only notices the center pane change.  The trick is that
once the main starts Activity A, I need to allow the user to navigate
to B or C by swiping left or right.  I'd rather not tightly couple the
classes so that A knows that C is left and B is right for example.
Would embedding this type of info into the base class be right?  It
doesn't feel right...

I know this has been a long post. I'd appreciate any advice.
Thanks! CB

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to