1 package ro
.ieval
.unical
;
3 import android
.app
.Activity
;
4 import android
.os
.Bundle
;
5 import android
.view
.View
;
6 import android
.widget
.Button
;
8 public final class LoginActivity
extends Activity
{
11 protected void onCreate(final Bundle savedInstanceState
) {
12 super.onCreate(savedInstanceState
);
13 setContentView(R
.layout
.login
);
14 setTitle(R
.string
.log_in
);
16 //final EditText user=(EditText) findViewById(R.id.editText1);
17 //final EditText pass=(EditText) findViewById(R.id.editText2);
18 final Button logIn
=(Button
) findViewById(R
.id
.button1
);
20 logIn
.setOnClickListener(new View
.OnClickListener() {
23 public void onClick(final View v
) {
24 setContentView(R
.layout
.event_view
);