judemanutd / KaTeXView

KaTeX View for android
MIT License
55 stars 12 forks source link

cannot change the textColor. #4

Closed Shani618 closed 4 years ago

judemanutd commented 4 years ago

Could you post a code snippet of what you have tried so far

Shani618 commented 4 years ago

<com.judemanutd.katexview.KatexView android:id="@+id/testActivityTextViewQuestionBigMaths" android:layout_width="wrap_content" android:layout_height="wrap_content" app:textColor="@color/white" />

I have also tried "#fff" and also testActivityTextViewQuestionBigMaths.setTextColor(ContextCompat.getColor(getApplicationContext(),android.R.color.white)); and also

testActivityTextViewQuestionBigMaths.setTextColor(getResources().getColor(R.color.white));

judemanutd commented 4 years ago

@Shani618 thanks for the issue, pushed out a new version of the library with the bug fixed.