]> gitweb.fperrin.net Git - Dictionary.git/commitdiff
Set text color for TextViews.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 8 Jan 2018 11:02:19 +0000 (12:02 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 8 Jan 2018 21:49:35 +0000 (22:49 +0100)
This was previously set partially for some text only, via
Spans which got lost in 4b0aa089555e54ebc9bf26f58096fb808b72420b.

Fixes issue #82.

src/com/hughes/android/dictionary/DictionaryActivity.java

index 8123c9d6db037e58c0d175bc0c7347f9e9e00f78..78b3b49fd1dca9917016dd9cf07a0f43e4ce5d97 100644 (file)
@@ -1624,6 +1624,8 @@ public class DictionaryActivity extends ActionBarActivity {
                     col1.setTextIsSelectable(true);
                     col2.setTextIsSelectable(true);
                 }
+                col1.setTextColor(textColorFg);
+                col2.setTextColor(textColorFg);
 
                 // Set the columns in the table.
                 if (r > 0) {