<repo_name>Sandernobel/Mad-Libs<file_sep>/app/src/main/java/com/example/sandernobel_madlibs/StoryActivity.java
package com.example.sandernobel_madlibs;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class StoryActivity extends AppCompatActivity {

    Story story;
    TextView final_story;

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

        Intent intent = getIntent();
        story = (Story) intent.getSerializableExtra("final_story");
        final_story = findViewById(R.id.Story);

        final_story.setText(story.toString());
    }

    public void newStory(View v) {
        Intent intent = new Intent(this, MainActivity.class);
        startActivity(intent);
        finish();
    }

}
<file_sep>/README.md
# Mad-Libs
An app that lets you fill in your own story

Extra:
- there are images which you can choose your story with instead of buttons
- the sentence "please fill in a/an ..." now recognizes whether "a/an" should be an "a" or an "an"

# Screenshots
![Image](https://github.com/Sandernobel/Mad-Libs/blob/master/doc/MadLibsMain.PNG)
![Image](https://github.com/Sandernobel/Mad-Libs/blob/master/doc/MadLibsfillin.PNG)
![Image](https://github.com/Sandernobel/Mad-Libs/blob/master/doc/MadlibsFinal.PNG)
