Android activity Button
<p>I have two buttons in my first android frame. ok button and cancel button. Cancel button will terminate the application. I want another button which appears in a new frame after I click on ok. I used setOnClickListener. But that button instead of appearing on a new frame after I click ok, appears in the same frame as Ok exists ,under cancel. I even created a new Button in main.xml and a new activity in AndroidManifest.xml. should I write them in a special way? I don't know exactly that what can be the problem. please help me.</p>
