1. A. The developer-defined requestCode is used to determine which activity (started with the startActivityForResult() method) is returning a result. resultCode provides information about that activity, such as whether it completed successfully or was canceled by the user.
2. False. The ImageButton control is actually a subclass of ImageView. However, a Button control behaves in a very similar fashion to an ImageButton control because they are both derived from the View class.
3. False. The Bitmap class encapsulates all bitmap-style graphics formats—specifically PNG (recommended) and JPG (supported).
Was this article helpful?