Android Open Source - BoggleGame Square Text View






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

/*
 * SquareTextView.java//from w  w w .ja v a 2  s.co  m
 * CS 454
 * Group 2
 */

package com.example.wordboggle;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;


/*
 * 
 */
public class SquareTextView extends TextView {

  public SquareTextView(Context context) {
    super(context);
    // TODO Auto-generated constructor stub
  }

  public SquareTextView(Context context, AttributeSet attrs) {
    super(context, attrs);
        //--- Additional custom code --
  }

  public SquareTextView(Context context, AttributeSet attrs, int defStyle) {
    super(context, attrs, defStyle);
        //--- Additional custom code --
  }
  
  /*
   * set the height of the text view equal to the text view'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