/**
* Created by liuml on 2016/6/11.
*/
public class MyScrollView extends View {
// 其资源引用的是同一张图片
private Bitmap bmpBackGround1;
private Bitmap bmpBackGround2;
int speed;
int pointX;
int tempy1;
private Context mcontext;
private int isfirst = 1;
// 按钮的坐标
private int btnX, btnY;
// 按钮是否按下标识位
private Boolean isPress;
// 界面背景坐标
private int bg1x, bg1y, bg2x, bg2y;
private int cloudx, cloudy;
List