You should really be using Intents to launch activities, like Justin said.
Each of your views would be a separate activity. The OS will handle going
back to the previous activity for you, by means of the phone's back button.
When a button is clicked that should switch to a different view, launch an
Intent. Android will handle the rest.


On Sun, Jun 13, 2010 at 6:05 AM, Ubuntu Explorer
<[email protected]>wrote:

> Hi,
>
> I would like to switch between two views.
>
> View 1 - button 1 -> View 2.
> View 2- Back -> View 1.
>
> Regards,
> UE.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
Steven
Maraj
http://www.marajservices.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to