-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAjuda.java
More file actions
41 lines (26 loc) · 906 Bytes
/
Ajuda.java
File metadata and controls
41 lines (26 loc) · 906 Bytes
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.adryangabriel.escolaronibus;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
public class Ajuda extends AppCompatActivity {
public ImageButton back;
public void initey() {
back = (ImageButton) findViewById(R.id.back);
back.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent toy = new Intent(Ajuda.this,Menu.class);
startActivity(toy);
}
});
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_ajuda);
initey();
}
}