Hi im trying to create a simple android app using the Eclipse IDE, all I need is a start up page with a few pages of information. Ive created a few xml pages with my desired layout and im wondering how to create an onclick event from an image button that opens another xml page? Im assuming I will have to implement an onClickListener but im new to android, is there a simple way of implementing this?
Share
In your Layout (XML) add
android:onClick="goPage2", for example:and then in your Activity, create a method: