Page 775 - 3-2
P. 775

Intent intent3;


                @Override
                protected void onCreate(Bundle savedInstanceState) {
                    super.onCreate(savedInstanceState);
                    setContentView(R.layout.activity_main);


                    text = (TextView) findViewById(R.id.textView);
                    font1 = Typeface.createFromAsset(getAssets(), "DXAbtB-KSCpc-EUC-H.ttf");
                    text.setTypeface(font1);


                    btn2 = (Button) findViewById(R.id.button2);
                    font = Typeface.createFromAsset(getAssets(), "a 어린이날M.ttf");
                    btn2.setTypeface(font);


                    btn = (Button) findViewById(R.id.button);
                    btn.setTypeface(font);


                    text2 = (TextView) findViewById(R.id.textView2);
                    text2.setTypeface(font);


                    text3 = (TextView) findViewById(R.id.textView3);
                    text3.setTypeface(font);
                }


                public void onClick_Rent (View v) {
                    intent = new Intent(getApplicationContext(),RentActivity.class);
                    startActivity(intent);
                }


                public void onClick_Return (View v) {
                    intent1 = new Intent(getApplicationContext(),ReturnActivity.class);
                    startActivity(intent1);
                }


                public void onClick_Login (View v) {
                    intent2 = new Intent(getApplicationContext(),LoginActivity.class);
                    startActivity(intent2);
                }


                public void onClick_Join (View v) {
                    intent3 = new Intent(getApplicationContext(),JoinActivity.class);
                    startActivity(intent3);
                }
            }


                                                         - 775 -
   770   771   772   773   774   775   776   777   778   779   780