-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainActivity.java
34 lines (27 loc) · 1.03 KB
/
MainActivity.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
package com.example.dell.aryashitlist;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
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.ImageView;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
TextView aryaStarkTextView;
ImageView aryaStarkImageView;
Button hitlistButton;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
aryaStarkTextView = (TextView)findViewById(R.id.aryaStarkTextView);
aryaStarkImageView = (ImageView)findViewById(R.id.aryaStarkImageView);
hitlistButton = (Button)findViewById(R.id.hitlistButton);
}
public void nextActivity(View view){
Intent intent = new Intent(this,Hitlist.class);
startActivity(intent);
}
}