jaikydota / Android-ImagesPickers

An android images picker,with blog:
http://blog.csdn.net/jaikydota163/article/details/52098880
Apache License 2.0
207 stars 41 forks source link

点击左下角“所有图片”的问题 #8

Open gundumw100 opened 7 years ago

gundumw100 commented 7 years ago

点击左下角“所有图片”弹出列表选择PopupWindow,随便滚动到某个Item,再点击“所有图片”,我以为会关闭PopupWindow,结果进入到某个文件夹了。另外弹出PopupWindow之后,按物理返回键无效,理论上应该关闭PopupWindow

gundumw100 commented 7 years ago

经验证,此bug是因为没有为PopupWindow设置背景所致。 目前我给设置了一个透明的背景 ShapeDrawable bgdrawable =new ShapeDrawable(new OvalShape()); bgdrawable.getPaint().setColor(getActivity().getResources().getColor(android.R.color.transparent)); folderPopupWindow = new ListPopupWindow(getActivity()); folderPopupWindow.setBackgroundDrawable(bgdrawable);

jaikydota commented 7 years ago

感谢,有时间我修改上,或你推送下修改请求!