content: package com.example.android.musicstructure.activity;
  
  import android.os.Bundle;
  import android.support.v7.app.AppCompatActivity;
  import android.support.v7.widget.Toolbar;
  import android.view.MenuItem;
  import android.widget.TextView;
  
  import com.example.android.musicstructure.R;
  
  /**
   * Created by akueisara on 9/29/2016.
   */
  public class NowPlayingActivity extends AppCompatActivity {
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_nowplaying);
          Toolbar toolbar = (Toolbar)findViewById(R.id.toolbar);
          setSupportActionBar(toolbar);
          getSupportActionBar().setDisplayHomeAsUpEnabled(true);
          getSupportActionBar().setDisplayShowHomeEnabled(true);
          getSupportActionBar().setTitle(getString(R.string.activity_nowplaying_title));
          TextView textView = (TextView) findViewById(R.id.textview_nowplaying);
          String song = getIntent().getStringExtra("song");
          textView.setText(song);
      }
  
      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          if (item.getItemId() == android.R.id.home) {
              finish();
          }
          return super.onOptionsItemSelected(item);
      }
  }
  