March 2013
Beginner to intermediate
580 pages
16h 11m
English
Perhaps the user interface would look even better if the next and previous buttons showed only icons.
Figure 2.10 Icon-only buttons

To accomplish this challenge, these two widgets must become ImageButtons instead of regular Buttons.
ImageButton is a widget that inherits from ImageView. Button, on the other hand, inherits from TextView.
Figure 2.11 Inheritance diagram for ImageButton and Button

You can replace the text and drawable attributes on the Next button with a single ImageView attribute:
<Button
Read now
Unlock full access