I want to create a toast message with background color is white and message color is black. My toast message is:
Toast.makeText(Logpage.this, \"Please Give
use this way
Toast toast = Toast.makeText(MainActivity.this, R.string.toastMessage, Toast.LENGTH_LONG); toast.getView().setBackgroundColor(Color.parseColor("#F6AE2D")); toast.show();