package com.ardrumoid;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

public class MusicResultActivity extends AppCompatActivity {

	private static final String LOG_TAG = "MusicResultActivity";

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

}

@@ -91,16 +91,112 @@
 ctivity;
+%0Aimport android.view.View;%0Aimport android.widget.RelativeLayout;%0Aimport android.widget.TextView;
 %0A%0Apublic
@@ -314,16 +314,66 @@
 vity%22;%0A%0A
+%09private int score;%0A%09private boolean isFinished;%0A%0A
 %09@Overri
@@ -474,57 +474,621 @@
 %0A%09%09s
-etContentView(R.layout.activity_music_result);%0A%09%7D%0A
+core = getIntent().getIntExtra(%22score%22, 0);%0A%09%09isFinished = getIntent().getBooleanExtra(%22isFinished%22, false);%0A%09%09setContentView(R.layout.activity_music_result);%0A%09%09if (!isFinished) %7B%0A%09%09%09final RelativeLayout rl = (RelativeLayout) findViewById(R.id.result_bg);%0A%09%09%09rl.setBackgroundResource(R.drawable.bg_purple);%0A%09%09%7D%0A%09%09final TextView tv = (TextView) findViewById(R.id.result_score_text);%0A%09%09tv.setText(String.valueOf(score) + %22 %EC%A0%90%22);%0A%09%7D%0A%0A%09@Override%0A%09public void finish() %7B%0A%09%09super.finish();%0A%09%09overridePendingTransition(R.anim.abc_fade_in, android.R.anim.fade_out);%0A%09%7D%0A%0A%09public void onScoreBtnClick(View v) %7B%0A%09%09finish();%0A%09%7D
 %0A%7D%0A

Update MusicResultActivity.java