I am working on a project and set the background of the application to white by doing the following:
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
I resolved the issue. The reason for the change in the Toast background color was due to the way I was passing in the context of the View object it was contained inside.
The following line of code would cause the background color to change to the unwanted white color:
Toast.makeText(v.getContext(), "Checking login details...", Toast.LENGTH_SHORT).show();
This line of code would return the Toast to the default system style:
Toast.makeText(getApplicationContext(), "Checking login details...", Toast.LENGTH_SHORT).show();
I am not sure if there is a huge problem with fixing it like this as I am only learning. If anyone can see a problem please share. It seems to be working just fine though.