Question: For the variable snake1, is there a set method so that I can later get the x and y coordinates.

Something like snake1.getX() or something? Can't seem to find anything

```
var canvas = document.getElementById("canvas");
var context = canvas.getContext("2d");

var snake1 = context.fillRect(x,y, snakeHeight, snakeWidth);

```

Thanks in advance

Answer: 
Are you sure action bar uses a relative layout? If not, then you can't treat it as a relative layout layout params and can ONLY use the base layoutParams functions
I hate to answer my own questions - but I just thought of something to try (that worked) after I hit Submit.

Instead of importing:

```
 import android.app.ActionBar.LayoutParams;

```

I needed to import:

```
 import android.widget.RelativeLayout.LayoutParams;

```

I am still able to import extend ActionBarActivity.