-
Notifications
You must be signed in to change notification settings - Fork 2
/
Creatrval.java
41 lines (28 loc) · 934 Bytes
/
Creatrval.java
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
32
33
34
35
36
37
38
39
40
41
package com.example.travel;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.util.Log;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageButton;
public class Creatrval extends Activity {
private ImageButton bt;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.creatrval);
bt=(ImageButton)findViewById(R.id.cretrabt_finish);
bt.setOnClickListener(new OnClickListener(){
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
Intent intent=new Intent(Creatrval.this,Travallist.class);
startActivity(intent);
Creatrval.this.finish();
}
});
}
}