package ga.deluded_fruitcakes_anonymous.velocityangles;

import android.content.Context;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Toast;

/**
 * Created by Isaac on 8/3/2016.
 */
public class GameView extends View {
    public GameView(Context context) {
        super(context);
    }
    public boolean onTouchEvent(MotionEvent e) {
        // MotionEvent reports input details from the touch screen
        // and other input controls. In this case, you are only
        // interested in events where the touch position changed.

        float x = e.getX();
        float y = e.getY();

        switch (e.getAction()) {
            case MotionEvent.ACTION_DOWN:
                Toast.makeText(getContext(), "Screen Touched at " + x + ", " + y, Toast.LENGTH_SHORT).show();

        }
        return true;
    }
}

@@ -257,65 +257,249 @@
     
-public GameView(Context context) %7B%0A        super(context)
+ float centerX, centerY%0A  float borderHeight;%0A  %0A   %0A  %0A    public GameView(Context context,float sHeight, float sWidth) %7B%0A        super(context); %0A        borderHeight = sHeight * 0.7;%0A    centerX = sWidth * 0.5;%0A    centerY = sHeight * 0.9
 ;%0A  

Update GameView.java