// Because of the package statement, the fully qualified name of class MainActivity is

// com.mycompany.myapp.MainActivity. The same is true for every class we create.

package com.mycompany.myapp;

// Because of the import statement for class android.widget.TextView, every mention of

// class TextView in this file is assumed to refer to class android.widget.TextView.

import android.os.Bundle;

import android.support.v7.app.AppCompatActivity;

import android.widget.TextView;

// Create a class named AppCompatActivity.

public class MainActivity extends AppCompatActivity {


    protected void onCreate(Bundle savedInstanceState) {



        TextView textView = (TextView) findViewById(R.id.textView);