package com.snowble.android.verticalstepper;

import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import android.view.ViewGroup;

public class VerticalStepper extends ViewGroup {

    public VerticalStepper(Context context) {
        super(context);
    }

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

    public VerticalStepper(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @TargetApi(Build.VERSION_CODES.LOLLIPOP)
    public VerticalStepper(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

    @Override
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
    }
}

@@ -885,11 +885,985 @@
  %7B%0A    %7D
+%0A%0A    @Override%0A    protected ViewGroup.LayoutParams generateDefaultLayoutParams() %7B%0A        return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);%0A    %7D%0A%0A    @Override%0A    public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) %7B%0A        return new LayoutParams(getContext(), attrs);%0A    %7D%0A%0A    @Override%0A    protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) %7B%0A        return new LayoutParams(p);%0A    %7D%0A%0A    @Override%0A    protected boolean checkLayoutParams(ViewGroup.LayoutParams p) %7B%0A        return p instanceof LayoutParams;%0A    %7D%0A%0A    public static class LayoutParams extends MarginLayoutParams %7B%0A%0A        public LayoutParams(Context c, AttributeSet attrs) %7B%0A            super(c, attrs);%0A        %7D%0A%0A        public LayoutParams(int width, int height) %7B%0A            super(width, height);%0A        %7D%0A%0A        public LayoutParams(ViewGroup.LayoutParams source) %7B%0A            super(source);%0A        %7D%0A    %7D
 %0A%7D%0A

Add ViewStepper.LayoutParams