I want you to direct me to good links or give me the basic elements that I have to study and read about to be able to build a custom user interface in android.
What I mean by custom is that the interface will contain buttons that are images not a regular android button.
Also I have to generate custom buttons on the fly based on user action and those generated buttons should have events associated with them.
I want you to direct me to good links or give me the basic
Share
Generic info about buttons here
To use image for a button you need an android.widget.ImageButton. Example of drawable selector (put it in res/drawable/):
So you can use different images for various states.
To generate buttons on the fly you can define base layout with any layout manager (FrameLayout, RelativeLayout, LinearLayout), find it by id (findViewById()) within your Activity and make it visible:
Hope this helps.