我想在线性布局中制作透明背景,我想在地图中显示更圆的对话框,但我的背景显示白色。
图像
任何机构对此都有任何建议。
您可以将背景设置为Dialog
例如:
View dialogView = LayoutInflater.From(this).Inflate(Resource.Layout.layout1, null);
Dialog dialog = new Dialog(this);
dialog.SetContentView(dialogView);
dialog.Window.SetBackgroundDrawable(new ColorDrawable(Color.Transparent));
dialog.Show();