fixed snackbar coloring of the action button

This commit is contained in:
Andy Scherzinger 2015-12-29 10:17:22 +01:00 committed by David A. Velasco
parent 9d9bc6958b
commit 55b4952687

View file

@ -231,7 +231,7 @@ public class FileDisplayActivity extends HookActivity
// Changing action button text color // Changing action button text color
View sbView = snackbar.getView(); View sbView = snackbar.getView();
TextView textView = (TextView) sbView.findViewById(android.support.design.R.id.snackbar_text); TextView textView = (TextView) sbView.findViewById(android.support.design.R.id.snackbar_action);
textView.setTextColor(ContextCompat.getColor(this, R.color.white)); textView.setTextColor(ContextCompat.getColor(this, R.color.white));
snackbar.show(); snackbar.show();
} else { } else {