Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class thirdScreen extends Activity {
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_third_screen);
- setupUI();
- init();
- }
- public void init(){
- next= (Button)findViewById(R.id.next);
- next.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View v) {
- Intent app = new Intent(thirdScreen.this,thirdScreen.class);
- startActivity(app);
- }
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement