-
Notifications
You must be signed in to change notification settings - Fork 0
/
Startpopup.java
54 lines (31 loc) · 862 Bytes
/
Startpopup.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
42
43
44
45
46
47
48
49
50
51
package com.d_andaman;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class Startpopup extends Activity{
private Button cancle,send;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.start_popup);
cancle=(Button) findViewById(R.id.decline);
send=(Button) findViewById(R.id.accept);
send.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(getApplicationContext(),
New_menu.class);
startActivity(i);
finish();
}
});
cancle.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
finish();
}
});
}
}