]> iEval git - unical.git/blob - src/ro/ieval/unical/LoginActivity.java
Fix the three get functions
[unical.git] / src / ro / ieval / unical / LoginActivity.java
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;
7 import android.widget.EditText;
8
9 public final class LoginActivity extends Activity {
10
11 @Override
12 protected void onCreate(final Bundle savedInstanceState) {
13 super.onCreate(savedInstanceState);
14 setContentView(R.layout.login);
15 setTitle(R.string.log_in);
16
17 final EditText user=(EditText) findViewById(R.id.editText1);
18 final EditText pass=(EditText) findViewById(R.id.editText2);
19 final Button logIn=(Button) findViewById(R.id.button1);
20
21 logIn.setOnClickListener(new View.OnClickListener() {
22
23 @Override
24 public void onClick(final View v) {
25 setContentView(R.layout.event_view);
26 }
27 });
28 }
29 }
This page took 0.0448 seconds and 4 git commands to generate.