android 2.3 popwindow NullPointerException的解决
构造函数里添加
super(context)
例如:
public MyPopupWindow(Activity context, int width, int height){super(context);
}