Android Open Source - BoggleGame Square Layout






From Project

Back to project page BoggleGame.

License

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.

Java Source Code

/*
 * 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);
  }
}




Java Source Code List

com.example.wordboggle.BTManager.java
com.example.wordboggle.BasicModaActivity.java
com.example.wordboggle.BoggleBoard.java
com.example.wordboggle.Dictionary.java
com.example.wordboggle.DisplayDevices.java
com.example.wordboggle.GameActivity.java
com.example.wordboggle.GameManager.java
com.example.wordboggle.GridPoint.java
com.example.wordboggle.HelpActivity.java
com.example.wordboggle.MainActivity.java
com.example.wordboggle.NewGameActivity.java
com.example.wordboggle.PlayActivity.java
com.example.wordboggle.ScoreActivity.java
com.example.wordboggle.SquareLayout.java
com.example.wordboggle.SquareTextView.java
com.example.wordboggle.TwoPlayerGameActivity.java
com.example.wordboggle.TwoPlayerResults.java
com.example.wordboggle.UserInterface.java