ActivityGroup内部的PopUpWindow的AutoCompleteTextView给出了android.view.WindowManager$BadTokenException: Unable to add window -- token null无效;您的活动正在运行吗?
发布于 2012-02-24 17:18:37
通过程序生成视图/布局,而不是xml布局尝试:
AutoCompleteTextViewtextView yourView = new AutoCompleteTextViewtextView(this.getParent() == null ? this : this.getParent());https://stackoverflow.com/questions/9427028
复制相似问题