Summary
Creating layouts is a lot of work! In this chapter you learned how to use Eclipse to create an Android layout file that is the user interface for an app activity. Development of a layout requires use of both the graphical editor and modification of the associated XML to get the exact design you want. Experimentation is often the key to getting the layout to look the way you want it to.
Intents
are used to switch between Activities
and sometimes pass data to those Activities
. You learned how to use Intents
to implement a navigation bar that allows the user to move between different Activities
in your app.
Finally, you learned how to use Fragments
to implement a custom dialog window. You also learned how to display the custom dialog and ...
Get Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.