Hai friends, Today we are going to learn how to use buttons in android. We can add buttons in three ways, first one button that contain only text, second one button that contain only image(image button) and third one that contain both text and image.
This is how our android application looks like;
N B;1.we adding a image called "backup_black.png" in the drawable folder.
2.You can change image position using "android:drawableLeft" (line no 45).
You can download app from here;
You can download full source code of this tutorial here;