If I set the background color of my Toast with
Toast
t.getView().setBackgroundColor( ctx.getResources().getColor(R.co
There is no way to prevent that. The default background for the toast is a drawable that defines the rounded corners. If you want rounded corners in a different color, you'll have to define your own shape drawable.