package com.sunhang.wisdompeikingdemo.fragment.pager.menu;

import android.app.Activity;
import android.graphics.Color;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;

/**
 * Created by sxh on 2016/6/28.
 * 交互频道页面
 */
public class InteractMenuDetailPager extends  BaseMenuDetailPager {
    /**
     * 构造方法:需要传入上下文
     *
     * @param activity
     */
    public InteractMenuDetailPager(Activity activity) {
        super(activity);
    }

    @Override
    public View initView() {
        TextView contentView = new TextView(mActivity);
        contentView.setText("四级页面: 交互");
        contentView.setBackgroundColor(Color.BLUE);
        contentView.setTextColor(Color.RED);
        contentView.setGravity(Gravity.CENTER);
        return contentView;
    }
}
