Some issue about setting text color for MathView
yishuinanfeng opened this issue · comments
yishuinanfeng commented
hello~I want to let the color of my MathView's text become white,according to stackoverflow(The link is : https://stackoverflow.com/questions/41485618/how-can-i-change-the-color-of-text-of-a-mathview-which-is-basically-a-webview) ,I try:
MathView formula = findViewById(R.id.scan_result);
formula.config(
"MathJax.Hub.Config({\n"+
" { TeX: { extensions: ["color.js"] } }\n"+
"});"
);
Then:
formula.setText("\(\color{white}{ax^2 + 7}\)");
it can show text as white.
but if i use some lateX which need symbol "$" like this:
formula.setText("\(\color{white}{$$ax^2 + 7$$}\)");
it dose not work.
Thanks if someone can help me.