---
title: " popupwindow中使用ListView无法响应点击事件"
author: "Java-Object"
date: "2014-08-16T12:57:35Z"
tags: []
categories: ["编程语言"]
slug: "popupwindow-listview"
draft: false
lastmod: "2014-08-16T12:57:35Z"
id: 2104585
url: "https://hezd.iteye.com/blog/2104585"
---

在PopupWindow中使用ListView，但是ListView中的各个item无法响应事件，这是需要添加  
                 mPopupwindow.setFocusable(true);  
如果为false则点击相关的控件表面上没有反应，但事件是可以监听到的,listview的话就没有了作用。