安卓:我想做个可以滑屏的音乐播放器,播放器已经做好了,就卡在滑屏处

public MultiViewGroup(Context context, AttributeSet attrs) {
super(context, attrs);
mContext = context;
init();
}

private void init() {
    // 初始化3个 LinearLayout控件
    LinearLayout oneLL = new LinearLayout(mContext);//这里就是显示的内容
    oneLL.setBackgroundColor(Color.RED);
    addView(oneLL);

    LinearLayout twoLL = new LinearLayout(mContext);
    twoLL.setBackgroundColor(Color.YELLOW);
    addView(twoLL);

    LinearLayout threeLL = new LinearLayout(mContext);
    threeLL.setBackgroundColor(Color.BLUE);
    addView(threeLL);
}
。。。。。。mcontext是现实的屏幕。。。问题是,我怎么放进我的Mainacti。
我是this,和mainactivity.this,都不成功。。。怎么办

为什么,没人来回答,我可以,我可以,出卖我自己

划屏?要不,试试viewpaper