// Path: src/main/java/org/ligi/axt/views/SquareView.java
// public class SquareView extends View {
// 
//     public SquareView(Context context) {
//         super(context);
//     }
// 
//     public SquareView(Context context, AttributeSet attrs) {
//         super(context, attrs);
//     }
// 
//     @Override
//     protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
//         super.onMeasure(widthMeasureSpec, heightMeasureSpec);
// 
//         final int parentWidth = View.MeasureSpec.getSize(widthMeasureSpec);
//         final int parentHeight = View.MeasureSpec.getSize(heightMeasureSpec);
//         final int size = Math.min(parentWidth, parentHeight);
//         this.setMeasuredDimension(size, size);
//     }
// }


import android.app.Activity;
import android.os.Bundle;
import android.view.ViewGroup;
import org.ligi.axt.views.SquareView;
package org.ligi.axt;


public class SquareViewTestActivity extends Activity {
    public SquareView squareView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
// Path: src/main/java/org/ligi/axt/views/SquareView.java
// public class SquareView extends View {
// 
//     public SquareView(Context context) {
//         super(context);
//     }
// 
//     public SquareView(Context context, AttributeSet attrs) {
//         super(context, attrs);
//     }
// 
//     @Override
//     protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
//         super.onMeasure(widthMeasureSpec, heightMeasureSpec);
// 
//         final int parentWidth = View.MeasureSpec.getSize(widthMeasureSpec);
//         final int parentHeight = View.MeasureSpec.getSize(heightMeasureSpec);
//         final int size = Math.min(parentWidth, parentHeight);
//         this.setMeasuredDimension(size, size);
//     }
// }


// Path: src/androidTest/java/org/ligi/axt/SquareViewTestActivity.java
import android.app.Activity;
import android.os.Bundle;
import android.view.ViewGroup;
import org.ligi.axt.views.SquareView;

package org.ligi.axt;


public class SquareViewTestActivity extends Activity {
    public SquareView squareView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        squareView = new SquareView(this);