@@ -0,0 +1,1072 @@
+package com.me.ui.widget.custom;%0A%0Aimport android.content.Context;%0Aimport android.util.AttributeSet;%0Aimport android.view.ViewGroup;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0A/**%0A * @author tangqi on 17-7-5.%0A */%0Apublic class NineGridLayout%3CT%3E extends ViewGroup %7B%0A%0A    private List%3CT%3E mDatas;%0A%0A    private void setData(List%3CT%3E list) %7B%0A        if (list != null) %7B%0A            mDatas.addAll(list);%0A            requestLayout();%0A        %7D%0A    %7D%0A%0A    public NineGridLayout(Context context) %7B%0A        this(context, null);%0A    %7D%0A%0A    public NineGridLayout(Context context, AttributeSet attrs) %7B%0A        this(context, attrs, 0);%0A    %7D%0A%0A    public NineGridLayout(Context context, AttributeSet attrs, int defStyleAttr) %7B%0A        this(context, attrs, defStyleAttr, 0);%0A    %7D%0A%0A    public NineGridLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) %7B%0A        super(context, attrs, defStyleAttr, defStyleRes);%0A        mDatas = new ArrayList%3C%3E();%0A    %7D%0A%0A    @Override%0A    protected void onLayout(boolean changed, int l, int t, int r, int b) %7B%0A%0A    %7D%0A%7D%0A

Add nine grid layout