package com.dev.pygmy;

import android.app.Activity;
import android.os.Bundle;

public class GameBoardInterfaceActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(new GameBoardView(getApplicationContext()));;
    }    
}

@@ -37,126 +37,425 @@
 id.a
-pp.Activity;%0Aimport android.os.Bundle;%0A%0Apublic class GameBoardInterfaceActivity extends Activity %7B%0A%0A    @Override%0A    
+nnotation.SuppressLint;%0Aimport android.app.ActionBar.LayoutParams;%0Aimport android.app.Activity;%0Aimport android.os.Bundle;%0Aimport android.view.ViewGroup;%0Aimport android.widget.FrameLayout;%0A%0A@SuppressLint(%22ResourceAsColor%22)%0Apublic class GameBoardInterfaceActivity extends Activity %7B%0A%0A%09static final String TAG = %22Pygmy%22;%0A%09%0A%09private GameBoardView gameBoardView = null;%0A%09private EntityView entityView = null;%0A%0A%09@Override%0A%09
 publ
@@ -500,24 +500,18 @@
 tate) %7B%0A
-        
+%09%09
 super.on
@@ -542,85 +542,621 @@
 e);%0A
-        setContentView(new GameBoardView(getApplicationContext()));;%0A    %7D    %0A
+%09%09%0A%09%09FrameLayout mainLayout = createMainLayout();%0A%09%09setContentView(mainLayout);%0A%09%09%0A%09%09gameBoardView = new GameBoardView(getApplicationContext());%0A%09%09mainLayout.addView(gameBoardView);%0A%09%09%0A%09%09entityView = new EntityView(this);%0A%09%09mainLayout.addView(entityView);%0A%09%7D%0A%09%0A%09private FrameLayout createMainLayout() %7B%0A%09%09FrameLayout mainLayout = new FrameLayout(this);%0A%09%09LayoutParams gerenalLayoutParams = new LayoutParams(%0A%09%09%09%09ViewGroup.LayoutParams.MATCH_PARENT,%0A%09%09%09%09ViewGroup.LayoutParams.MATCH_PARENT);%0A%09%09mainLayout.setLayoutParams(gerenalLayoutParams);%0A%09%09mainLayout.setBackgroundColor(R.color.blue);%0A%09%09%0A%09%09return mainLayout;%0A%09
 %7D%0A
+%7D

Put GameBoardView and EntityView in the same layout