To create user interface screens you extend the Activity class, using Views to provide the UI and allow user interaction.
Each Activity represents a screen (similar to a Form) that an application can present to its users. The more complicated your application, the more screens you are likely to need.
Create a new Activity for every screen you want to display. Typically this includes at least a primary interface screen that handles the main UI functionality of your application. This primary interface is often supported by secondary Activities for entering information, providing different perspectives on your data, and supporting additional functionality. To move between screens start a new Activity (or return from one).
Most Activities are designed to occupy the entire display, but you can also create Activities that are semitransparent or floating.
Was this article helpful?
Quick start guide to skyrocket your offline and online business success with mobile apps. If you know anything about mobile devices, you’ve probably heard that famous phrase coined by one of the mobile device’s most prolific creators proclaiming that there’s an app for pretty much everything.