I have an ImageButton and I want to show a text and an image on it. But when I try on emulator:
ImageButton
It is technically possible to put a caption on an ImageButton if you really want to do it. Just put a TextView over the ImageButton using FrameLayout. Just remember to not make the Textview clickable.
TextView
FrameLayout
Textview
Example: