Building activities for results
There are times when none of the default widgets in Android will fulfill your input requirements on their own, and you need some sort of composite input structure. In these cases, you can either create a
Dialog widget, or build a new
Activity. Dialog widgets are useful when their content is kept small (two or three lines of widgets at maximum) because they visually remain on top of the current
Activity. However, this means that they consume additional resources (since their calling
Activity cannot be swapped out into the background), and because they have their own decorations they don't have as much available screen space to work on as an
In Chapter 4, Leveraging Activities and Intents, we discussed the ...