package com.dgaf.happyhour.View;

/**
 * Created by trentonrobison on 4/26/15.
 */

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.dgaf.happyhour.R;

/*This is the fragment that our page view loads*/
public class About extends Fragment {
    /**
     * The fragment argument representing the section number for this
     * fragment.
     */
    /**
     * Returns a new instance of this fragment for the given section
     * number.
     */


    //section ID acts like ID for the query search as well
    public static About newInstance(int sectionNumber) {
        About fragment = new About();
        Bundle args = new Bundle();
        //args.putInt(QUERY_DECISION, query);
        //fragment.setArguments(args);

        return fragment;
    }

    public About() {
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View rootView = inflater.inflate(R.layout.fragment_about, container, false);

        return rootView;
    }
}

@@ -235,16 +235,114 @@
 ewGroup;
+%0Aimport android.widget.Button;%0Aimport android.widget.ImageButton;%0Aimport android.widget.ImageView;
 %0A%0Aimport
@@ -451,16 +451,48 @@
 ragment 
+implements View.OnClickListener 
 %7B%0A    /*
@@ -689,16 +689,127 @@
     */%0A%0A
+    ImageView llamaPic;%0A    boolean displayed = false;%0A    boolean transparent = true;%0A    Button llamaButton;%0A
 %0A    //s
@@ -1382,24 +1382,799 @@
     
-return rootView;
+llamaButton = (Button) rootView.findViewById(R.id.llamaButton);%0A        llamaButton.setOnClickListener(this);%0A        llamaButton.setAlpha(0.0f);%0A%0A        llamaPic = (ImageView) rootView.findViewById(R.id.llamaPic);%0A        llamaPic.setOnClickListener(this);%0A%0A        return rootView;%0A    %7D%0A%0A    @Override%0A    public void onClick(View v) %7B%0A        switch(v.getId()) %7B%0A            case R.id.llamaButton:%0A                if (!displayed) %7B%0A                    llamaPic.setVisibility(View.VISIBLE);%0A                    displayed = true;%0A                    llamaButton.setAlpha(0.3f);%0A                    transparent = false;%0A%0A                %7D%0A                else %7B%0A                    llamaPic.setVisibility(View.INVISIBLE);%0A                    displayed = false;%0A                %7D%0A%0A        %7D
 %0A   

Edit layout and create secret button