1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-25 01:20:34 +00:00

changed color of snackbar action text

This commit is contained in:
Christian Schabesberger 2016-02-29 21:21:15 +01:00
parent 3c93c4714e
commit 1210ab0de0

View File

@ -5,6 +5,7 @@ package org.schabi.newpipe;
import android.app.Activity; import android.app.Activity;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.graphics.Color;
import android.net.Uri; import android.net.Uri;
import android.os.AsyncTask; import android.os.AsyncTask;
import android.os.Build; import android.os.Build;
@ -99,6 +100,7 @@ public class ErrorActivity extends AppCompatActivity {
if (rootView != null) { if (rootView != null) {
Snackbar.make(rootView, R.string.error_snackbar_message, Snackbar.LENGTH_LONG) Snackbar.make(rootView, R.string.error_snackbar_message, Snackbar.LENGTH_LONG)
.setActionTextColor(Color.YELLOW)
.setAction(R.string.error_snackbar_action, new View.OnClickListener() { .setAction(R.string.error_snackbar_action, new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {