/*
 * Copyright (C) 2015 Karumi.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.github.katasuperheroes;

import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import github.com.katasuperheroes.R;

public class MainActivity extends AppCompatActivity {

  @Override protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main_activity);
    Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
    setSupportActionBar(toolbar);

    FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
    fab.setOnClickListener(new View.OnClickListener() {
      @Override public void onClick(View view) {
        Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
            .setAction("Action", null)
            .show();
      }
    });
  }
}

@@ -652,114 +652,8 @@
 le;%0A
-import android.support.design.widget.FloatingActionButton;%0Aimport android.support.design.widget.Snackbar;%0A
 impo
@@ -697,16 +697,16 @@
 tivity;%0A
+
 import a
@@ -743,34 +743,8 @@
 ar;%0A
-import android.view.View;%0A
 impo
@@ -1041,16 +1041,16 @@
 olbar);%0A
+
     setS
@@ -1078,350 +1078,8 @@
 ar);
-%0A%0A    FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);%0A    fab.setOnClickListener(new View.OnClickListener() %7B%0A      @Override public void onClick(View view) %7B%0A        Snackbar.make(view, %22Replace with your own action%22, Snackbar.LENGTH_LONG)%0A            .setAction(%22Action%22, null)%0A            .show();%0A      %7D%0A    %7D);
 %0A  %7D

Fix build problem