package circlebinder.common.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.RelativeLayout;

import circlebinder.common.R;

public class CircleCutView extends RelativeLayout {

    private ImageView imageView;

    public CircleCutView(Context context) {
        super(context);
        initialize(context);
    }

    public CircleCutView(Context context, AttributeSet attrs) {
        super(context, attrs);
        initialize(context);
    }

    public CircleCutView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        initialize(context);
    }

    private void initialize(Context context) {
        LayoutInflater.from(context).inflate(R.layout.circlebinder_view_circle_cut, this);
        imageView = (ImageView)findViewById(R.id.view_circle_cut_image);
    }
}

@@ -384,24 +384,58 @@
 r(context);%0A
+        if (isInEditMode()) %7B%0A    
         init
@@ -443,32 +443,42 @@
 alize(context);%0A
+        %7D%0A
     %7D%0A%0A    publi
@@ -559,24 +559,58 @@
 xt, attrs);%0A
+        if (isInEditMode()) %7B%0A    
         init
@@ -618,32 +618,42 @@
 alize(context);%0A
+        %7D%0A
     %7D%0A%0A    publi
@@ -758,24 +758,58 @@
  defStyle);%0A
+        if (isInEditMode()) %7B%0A    
         init
@@ -821,24 +821,34 @@
 e(context);%0A
+        %7D%0A
     %7D%0A%0A    p

fix layout preview on ADT