]> gitweb.fperrin.net Git - Dictionary.git/commitdiff
Another fix for text colour.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 10 Jan 2018 19:30:17 +0000 (20:30 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 10 Jan 2018 19:30:17 +0000 (20:30 +0100)
src/com/hughes/android/dictionary/DictionaryActivity.java

index 6072a6b3afd2e140996272b37a5325e6d3ac0559..b017e9c500cab93b2d2d509aed15cc2ee64c9740 100644 (file)
@@ -1712,8 +1712,6 @@ public class DictionaryActivity extends ActionBarActivity {
                 textView.setOnLongClickListener(indexIndex > 0 ? textViewLongClickListenerIndex1 : textViewLongClickListenerIndex0);
                 textView.setLongClickable(true);
 
-                // Doesn't work:
-                // textView.setTextColor(android.R.color.secondary_text_light);
                 textView.setTypeface(typeface);
                 if (isTokenRow) {
                     textView.setTextAppearance(context, theme.tokenRowFg);
@@ -1721,6 +1719,7 @@ public class DictionaryActivity extends ActionBarActivity {
                 } else {
                     textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, fontSizeSp);
                 }
+                textView.setTextColor(textColorFg);
                 if (!htmlEntries.isEmpty()) {
                     textView.setClickable(true);
                     textView.setMovementMethod(LinkMovementMethod.getInstance());