title: I cant change the color of a toast in android
body: <pre><code>Toast toast = Toast.makeText(this, &quot;color&quot; , Toast.LENGTH_SHORT);
          View v = toast.getView();
          v.setBackgroundResource(R.drawable.toast);
          toast.show();
  </code></pre>
  <pre>
  when I click the button that should do this the whole app crashes
  
  I checked everything I don't know what is the problem of my android studio with this code
  
  I tried everything but I don't know what is the problem 
  
  it's funny that I couldn't find anyone else on the internet with the same problem
  
  please help
  </pre>