@@ -0,0 +1,689 @@
+package anabalica.github.io.meowletters.customviews;%0A%0Aimport android.content.Context;%0Aimport android.util.AttributeSet;%0Aimport android.widget.TableLayout;%0A%0A/**%0A * Custom square TableLayout, i.e. the height is set equal to the width%0A * of the layout.%0A *%0A * @author Ana Balica%0A */%0Apublic class SquareTableLayout extends TableLayout %7B%0A%0A    public SquareTableLayout(Context context, AttributeSet attrs) %7B%0A        super(context, attrs);%0A    %7D%0A%0A    @Override%0A    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) %7B%0A        super.onMeasure(widthMeasureSpec, heightMeasureSpec);%0A        final int width = getMeasuredWidth();%0A        setMeasuredDimension(width, width);%0A    %7D%0A%7D%0A

create a custom square table layout