-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainActivity.java
28 lines (24 loc) · 943 Bytes
/
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
package madsum.resume;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
public class Main3Activity extends AppCompatActivity {
TextView movein;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main3);
movein = (TextView) findViewById(R.id.textView13);
Typeface face = Typeface.createFromAsset(getAssets(), "font/SupercellFont.ttf");
movein.setTypeface(face, Typeface.BOLD);
}
public void onClick(View view) {
Intent intent = new Intent(Main3Activity.this, MainActivity2.class);
startActivity(intent);
Toast.makeText(getApplicationContext(), "Welcome User !", Toast.LENGTH_LONG).show();
}
}