自定义下拉弹出框

eax48 43 0 ZIP 2019-06-01 01:06:47

自定义下拉弹出框,效果如QQ账号选择时候的下拉列表使用ListView和PopupWindow实现PopupWindow//设置为true,才能获得焦点,其里面的空间才能响应事件//trueifthepopupcanbefocused,falseotherwisepopupWindow=newPopupWindow(lv,et_qq.getWidth()/5*4,et_qq.getWidth(),true);popupWindow.setBackgroundDrawable(newColorDrawable(Color.TRANSPARENT));//设置popupwindow在外部可以

用户评论
请输入评论内容
评分:
暂无评论