You could put everything in one Activity. You could also put your complete application in a single class, and both are a bad idea for the same reason.
On Apr 6, 2:35 pm, Derek <[EMAIL PROTECTED]> wrote: > Hi, > > I'm writing an application with two screens. > Screen 1: Parameters settings > Screen 2: Display info (depending on parameters settings) > > I've used one Activity and two LinearLayout views to implement it. I > switch from screen 1 to 2 with setContentView(...) and it works fine. > However, in the Android documentation, I can see that using two > activity may be recommended. So, when should we use Activity ? Why not > using view ? > > Thanks for the help. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---