Back to project page BoggleGame.
The source code is released under:
MIT License
If you think the Android project BoggleGame listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * SquareLayout.java//w ww.java 2 s . c o m * CS 454 * Group 2 */ package com.example.wordboggle; import android.content.Context; import android.util.AttributeSet; import android.widget.LinearLayout; /* * */ public class SquareLayout extends LinearLayout{ public SquareLayout(Context context) { super(context); // TODO Auto-generated constructor stub } public SquareLayout(Context context, AttributeSet attrs) { super(context, attrs); //--- Additional custom code -- } public SquareLayout(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); //--- Additional custom code -- } /* * set the height of the layout equal to the layout's width */ @Override public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { super.onMeasure(widthMeasureSpec, widthMeasureSpec); } }