]>
Commit | Line | Data |
---|---|---|
8188ed47 PT |
1 | package ro.ieval.unical; |
2 | ||
3 | import android.app.Activity; | |
4 | import android.os.Bundle; | |
5 | import android.view.View; | |
6 | import android.widget.Button; | |
8188ed47 | 7 | |
5cf4714f | 8 | public final class LoginActivity extends Activity { |
070d3ab2 | 9 | |
8188ed47 | 10 | @Override |
5cf4714f | 11 | protected void onCreate(final Bundle savedInstanceState) { |
8188ed47 PT |
12 | super.onCreate(savedInstanceState); |
13 | setContentView(R.layout.login); | |
5cf4714f MG |
14 | setTitle(R.string.log_in); |
15 | ||
9dcd994f MG |
16 | //final EditText user=(EditText) findViewById(R.id.editText1); |
17 | //final EditText pass=(EditText) findViewById(R.id.editText2); | |
8188ed47 | 18 | final Button logIn=(Button) findViewById(R.id.button1); |
070d3ab2 | 19 | |
8188ed47 | 20 | logIn.setOnClickListener(new View.OnClickListener() { |
070d3ab2 | 21 | |
8188ed47 | 22 | @Override |
5cf4714f MG |
23 | public void onClick(final View v) { |
24 | setContentView(R.layout.event_view); | |
8188ed47 PT |
25 | } |
26 | }); | |
27 | } | |
28 | } |