-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSignUp.java
More file actions
31 lines (26 loc) · 867 Bytes
/
Copy pathSignUp.java
File metadata and controls
31 lines (26 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.example.app_login;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class SignUp extends AppCompatActivity {
private TextView button;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_sign_up);
/* button = (TextView) findViewById(R.id.SignUp_btn);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
openNextActivity();
}
});*/
}
public void openNextActivity(){
Intent intent = new Intent(this, MainActivity.class);
startActivity(intent);
}
}