pupupwindow中使用spinner出现BadTokenException: Unable to add window 异常问题
2014-05-12 00:23
573 查看
<Spinner
android:id="@+id/spinner1"
android:layout_alignParentRight="true"
android:layout_height="wrap_content"
android:layout_width="wrap_content"/>
中加了一行
android:spinnerMode="dialog"
就可以了
android:id="@+id/spinner1"
android:layout_alignParentRight="true"
android:layout_height="wrap_content"
android:layout_width="wrap_content"/>
中加了一行
android:spinnerMode="dialog"
就可以了
相关文章推荐
- ProgressDialog使用时BadTokenException: Unable to add window问题的解决
- Andoid:popwindow里嵌入webview使用报错解决方案:d.view.WindowManager$BadTokenException: Unable to add window -- t
- android.view.WindowManager$BadTokenException: Unable to add window 异常的处理
- android spinner点击android.view.WindowManager$BadTokenException: Unable to add window token is not va
- 异常:android.view.WindowManager$BadTokenException: Unable to add window
- Android实现浮窗时报的android.view.WindowManager$BadTokenException: Unable to add window异常
- Android异常-android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.Bin
- 使用PopWindow遇到的BadTokenException: Unable to add window is not valid; is your activity r
- android spinner点击android.view.WindowManager$BadTokenException: Unable to add window token is not va
- Activity has leaked window that was originally added -界面退出时未关闭对话框异常 android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? -
- 异常 android.view.WindowManager$BadTokenException: Unable to add window — token null
- Android 分析android.view.WindowManager$BadTokenException: Unable to add window异常
- android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl
- android.view.WindowManager$BadTokenException: Unable to add window — token null
- 解决: android.view.WindowManager BadTokenException:Unable to add Window.Is your activity running?
- WindowManager$BadTokenException: Unable to add window — token android.os.BinderProxy@465 is not vali
- android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an appli
- android.view.WindowManager$BadTokenException: Unable to add window
- 使用软引用解决Handler内存泄露和显示Popupwindow、Dialog时提示"Unable to add Window-token is null"的问题
- Android报错:WindowManager$BadTokenException: Unable to add window -- window has already been added