背景色PopupWindowのシンプルなものを使って作成しました。LinearLayoutに影がありPopupWindowます。に対して自動的に生成されたシャドウを削除するにはどうすればよいですかPopupWindow。私は次のように作成しましたPopupWindow:
View view = LayoutInflater.from(getBaseContext()).inflate(R.layout.mylayout,null);
pop = new PopupWindow(this);
pop.setTouchable(false);
pop.setHeight(200);
pop.setWidth(200);
pop.setContentView(view);
pop.showAtLocation(parentview, 0, 50, 50);
スクリーンショット:
