Users often touch buttons to initiate actions in a program. To save a search’s query–tag pair in this app, you touch an ImageButton (package android.widget
). ImageButton
is a subclass of ImageView
which provides additional capabilities that enable an image to be used like a Button
object (package android.widget
) to initiate an action.