我在实现的时候,重写了PopupWindow这个类:
public class PopWindowUtils extends PopupWindow{
private EditText mPopWindowEditText = null;
private Button mButton = null;
private View mView = null;
private LayoutInflater mLayoutInflater = null;
public PopWindowUtils(Activity activity){
mLayoutInflater = (LayoutInflater)activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
mView = mLayoutInflater.inflate(R.layout.popwindow, null);
mPopWindowEditText = (EditText)mView.findViewById(R.id.mPopWindowEditText);
mButton = (Button)mView.findVie
1587



被折叠的 条评论
为什么被折叠?



