
105
uI develoPment toolkIt
1. Implementing the event listener itself and associating it with
the View object (which is often part of the Android Activity
object, Figure6.7)
2. Having the View object implement the event listener
(Figure6.8)
3. Having the topmost Activity object (which houses various view
objects as its parts) implement the event listener (Figure6.9).
As already mentioned, the Android UI framework also provides a
declarative method for specifying the UI. at is, the form of the UI
can be “declared” using a markup language (Figure6.10). rough
a development tool such as Eclipse [3], the UI can be built through
direct gr ...