popupwindow加白色背景框后,边缘出现黑线
popupwindow加白色背景框后,边缘出现黑线,怎么才能去掉,求各位大侠帮忙
代码:
public class MusicPopup2 {
private PopupWindow music;
private View vt;
private Context context;
private int width=70;
private int height=145;
public MusicPopup2(Context c) {
context = c;
View ebook_popwindow_music = View.inflate(context, R.layout.popup, null);
//R.layout.popup是一个带背景的LinearLayout
music = new PopupWindow(ebook_popwindow_music, width,height);
}
public void show(View parent) {
vt=parent;
music.showAtLocation(vt, 0, 580, 809);
}
}