Page 501 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 501

{
                       Intent intent_04  = new  Intent(getApplicationContext(),Ho_Activity.class);
                       startActivity(intent_04);

                 }
                 public void  onclick_memo(View v)
                 {
                       Intent intent_05  = new  Intent(getApplicationContext(),Memo_Activity.class);

                       startActivity(intent_05);
                 }
                 public void  onclick_finish(View  v)
                 {
                       finish();
                 }

            }



            2. MainActivity.xml





            <?xml version="1.0" encoding="utf-8"?>

            <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

                 xmlns:tools="http://schemas.android.com/tools"

                 android:layout_width="match_parent"

                 android:layout_height="match_parent"


                 android:paddingBottom="@dimen/activity_vertical_margin"

                 android:paddingLeft="@dimen/activity_horizontal_margin"

                 android:paddingRight="@dimen/activity_horizontal_margin"

                 android:paddingTop="@dimen/activity_vertical_margin"

                 tools:context="com.example.user.notice.MainActivity"


                 android:background="@drawable/background">




                 <Button




                                                         -  494  -
   496   497   498   499   500   501   502   503   504   505   506